The ways a shopper can receive an order — the store’s delivery options and pickup locations —
priced for their location and basket, plus carrier options when a destination address and parcel
are sent.
Location:latitude + longitude, or a place_name (geocoded). country_code and
postal_code may accompany either; they match zones defined by country and postcode, and a value
sent here takes precedence over the one found by geocoding. A country_code alone (optionally with
postal_code) is also a location: it prices zones that cover the country and the store’s
“everywhere else” rate without geocoding, which is enough for “Delivery to the United Kingdom from
£3.95” on a product page. Zones drawn on a map and distance rates need coordinates and are skipped.
When the store has no zone that a country can match (its rules are map zones and distance rates
only), a country alone cannot be priced: the answer is 200 with configured: true, fee: null,
cheapest_option: null and options holding only the pickup locations, and no “everywhere else” price
is given. Show no delivery price in that case; send coordinates to price it.
With no location at all, address_to + parcel returns carrier options only, with fee null.
Basket:order_total is the merchandise after discounts, before tax and shipping; free-delivery
thresholds and minimum orders are measured against it. items lists the basket’s variants and
quantities. It is optional, and is what lets the store apply rates that depend on the parcel’s
weight and rules it sets for particular product categories — a surcharge, delivery only to nearby
addresses (restriction: local_only), or collection only (restriction: pickup_only).
Pricing: the first zone containing the location — a zone drawn on a map, or a zone covering
whole countries or postcode prefixes; otherwise the distance tier matching its distance from the
store (a range includes its start and stops just before its end); otherwise the store’s
“everywhere else” rate. A matched rate is free when order_total reaches its free-delivery
threshold. A store with no rates at all charges nothing (applied_rule: none) and answers
configured: false with is_free: false: it has set up no delivery charges through us, so a
storefront shows no delivery price and no free-delivery message. configured: false never means free
delivery.
Delivery dates: an option carries min_days and max_days (delivery days after dispatch) and a
delivery_window of calendar dates, when the store has set delivery days. Dates are computed once,
here, in the store’s timezone (delivery.timezone): an order placed before the store’s dispatch cutoff
(delivery.dispatch_cutoff) on a delivery weekday dispatches that day, otherwise on the next delivery
weekday, and days are counted on the store’s delivery weekdays. Public holidays are not considered.
A carrier option (rates[]) with only estimated_days carries min_days = max_days = that value and
the same computed window. cheapest_option is the lowest-fee available option.
Options:options[] lists everything the shopper can choose between. The first delivery
option, id: place, is the matched rate itself (“Standard delivery”); its fee is also returned as
fee. The store may add named options to the same rate — Express, Next day — with ids of the form
opt:<id>, each with its own fee and estimate. Pickup options (method: pickup, ids of the form
pickup:<location id>) follow, nearest first when the location is known. An option with
available: false exists but does not apply to this basket yet, usually because order_total is
below its minimum_order. To order with an option, pass its id as shipping_option_id on
POST /v1/orders.
No delivery to the address: when the store does not deliver there but does offer pickup, the
response is 200 with deliverable: false, fee: null and only the pickup options. When it offers
neither, the answer is 400 shipping_not_deliverable.
Multiple locations: when the store delivers from whichever of its locations is nearest the
shopper, fulfilled_from names that location, and distance tiers are measured from it.
Carrier options (rates[]) come from the store’s connected carrier account and its custom
shipping extension. To order with one, pass its rate_id and source on POST /v1/orders as
shipping_rate_id and shipping_rate_source.
This is a read-only operation (safe for publishable keys).
Format: tybrite_sk_live_* (production) or tybrite_sk_test_* (sandbox)
Full read/write access to all endpoints
⚠️ NEVER expose in client-side code or public repositories
Required for: every write a shopper does not make for themselves, authentication, payment verification, AI recommendations
Publishable Keys (Client-Safe):
Format: tybrite_pk_live_* (production) or tybrite_pk_test_* (sandbox)
Catalogue reads, plus the actions a shopper takes for themselves
✅ Safe for client-side JavaScript, mobile apps, and public code
Allowed for: browsing products, search, CMS content, pricing queries, cart and wishlist,
reviews, storefront events, and the Agent API's quotes, cart drafts and checkout intents
Endpoint-Specific Requirements:
Authentication endpoints (/v1/auth/*): state-changing POST calls require a secret key, for store and marketplace keys alike; GET /v1/auth/me accepts either key
AI Recommendations (POST /v1/recommendations): Secret key required
Semantic Search (POST /v1/search): Both key types allowed (read-only operation)
Shopper actions (cart, wishlist, reviews, storefront events, Agent API quotes, cart drafts and checkout intents): Both key types allowed
All other write operations: Secret key required
All read operations: Both key types allowed
Using a publishable key for restricted operations returns 403 Forbidden.
Limited publishable keys:
A publishable key can be limited to the products that carry one tag (for example starter:jewellery), created from
the store's Developers page. The limit applies to the key, never to the shopper: shopper sign-up and sign-in stay store-wide.
Reads return only the slice: products (with their facets, filters, search, brands and specifications), categories and
subcategories that hold in-slice products, collections, promotions, posts and lookbooks that carry the tag, reviews of
in-slice products, prices, discovery lists and the store information summary, with every count computed on the slice.
A product outside the slice answers 404, as if it did not exist.
A write that names a product or variant outside the slice (adding to the cart or wishlist, reserving stock, an order line,
a review, a promotion calculation, a storefront event) answers 403 with the error code out_of_scope, and nothing is
written or reserved. An order is refused as a whole.
A route that carries no slice behaviour is not available to the key: it answers 403 with endpoint_not_allowed.
Orders placed through such a key record the tag on the order's attribution as key_scope.
Secret keys and connected-app keys cannot be limited.
Responses are cached per key limit: a limited key never receives a response cached for the whole store, and the reverse.
Query Parameters
rate_source_format
enum<string>
How rate_source names a carrier-account source. provider uses shippo; neutral uses carrier. When omitted, the store's own setting applies (provider unless the merchant chose neutral). A request may send either spelling wherever a rate source is accepted.
Available options:
provider,
neutral
Body
application/json
Option 1
Option 2
Option 3
Option 4
Input for a shipping fee calculation. Provide GPS coordinates (latitude + longitude), a place_name to geocode, a country_code alone, or — for carrier options only — address_to with a parcel.
latitude
number<double>
required
Customer's GPS latitude
Required range: -90 <= x <= 90
Example:
40.6782
longitude
number<double>
required
Customer's GPS longitude
Required range: -180 <= x <= 180
Example:
-73.9442
country_code
string
ISO 3166-1 alpha-2 country code of the destination. Matches zones defined by country; a value sent here takes precedence over the one found from the location.
Pattern: ^[A-Za-z]{2}$
Example:
"US"
postal_code
string
Postcode of the destination. Matches zones narrowed to postcode prefixes; a value sent here takes precedence over the one found from the location.
Maximum string length: 16
Example:
"11225"
items
object[]
The basket's lines. Optional; with it, the store's weight-based rates and its rules for product categories (surcharges, local-only delivery, collection only) apply. A rate that depends on weight applies only when every line's variant has a weight.
Maximum array length: 500
Show child attributes
order_total
number<float>
The order's merchandise after discounts, before tax and shipping. A free-delivery threshold is compared against this figure. Must be a number of zero or more; defaults to 0.
Required range: x >= 0
Example:
50
address_to
object
A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as rates[]).
Show child attributes
address_from
object
A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as rates[]).
Show child attributes
parcel
object
Parcel dimensions + weight for live carrier rating.
Show child attributes
Response
The delivery charge for the location
The store's delivery charge for a location and order total. An address is priced by the first zone that contains it, otherwise by the distance rate for its distance from the store, otherwise by the store's "everywhere else" rate. A store with no delivery rates at all charges nothing (applied_rule: none). options lists every delivery option and pickup location the shopper can choose between. When the store does not deliver to the address but offers pickup, deliverable is false, fee is null and options holds the pickup locations only; when it offers neither, the answer is 400 shipping_not_deliverable instead.
fee
number<float> | null
The standard delivery charge (the place option's fee), in currency. Null on a carrier-options-only request (no location was sent) and when the store does not deliver to the address but offers pickup (deliverable: false).
Required range: x >= 0
Example:
5.99
currency
string | null
The currency of fee and free_threshold — the store's own currency.
Example:
"USD"
zone_name
string | null
The zone that priced the address, when a zone did.
Example:
null
tier_name
string | null
The distance rate that priced the address, when one did.
Example:
"Local (within 10 km)"
distance_meters
number<float> | null
Distance from the store to the address in meters, when it was measured.
Example:
8547.99
is_free
boolean
True when the store's rate delivers this order free (fee is 0 under a configured rate). Always false when configured is false: a store with no delivery rates has not offered free delivery.
Example:
false
free_threshold
number | null
The order total from which the matched rate delivers free, or null when it has none.
Example:
75
configured
boolean | null
Whether the store has any delivery rates. False means the store has not set up delivery charges through us: fee is 0, is_free is false, and a storefront shows no delivery price or free-delivery message at all.
Example:
true
reason
string
A short, shopper-readable explanation of the charge.
Example:
"Local (within 10 km)"
applied_rule
enum<string>
Which of the store's rates priced the address:
zone: a delivery zone contains it
distance: a distance rate matched its distance from the store
fallback: the store's "everywhere else" rate
none: the store has no delivery rates (fee 0), or a carrier-options-only request
Available options:
zone,
distance,
fallback,
none
Example:
"distance"
coordinates
object | null
The address's coordinates (geocoded when a place_name was sent), with the country and postcode used to match zones when known.
Show child attributes
deliverable
boolean
Whether the store delivers to the address. False when only pickup is offered for it — because the address is outside the store's delivery area, or because an item in the basket can only be collected.
Example:
true
restriction
enum<string>
A limit the basket's items place on how the order can be received, from the store's rules for
product categories:
none: no limit
local_only: delivered only within the store's map zones and distance tiers, not to country or
postcode zones or the "everywhere else" rate
pickup_only: collection only; no delivery option is offered
Available options:
none,
local_only,
pickup_only
Example:
"none"
options
object[]
Every way the shopper can receive the order: the delivery options first (place, then any named options), then the pickup locations, nearest first when the location is known. Absent on a carrier-options-only request.
Show child attributes
cheapest_option
object | null
The lowest-fee available entry of options (the delivery options; the pickup options when there is no delivery), in the shape of a ShippingOption. Null when nothing is available, and null when the request named only a country and the store's rules are map zones and distance rates (a price would be a guess); show no delivery price then. Use it for "Delivery from £3.95" on a product page.
Show child attributes
delivery
object | null
The store's delivery-day settings, for rendering delivery_window dates. Absent on a carrier-options-only request.
Show child attributes
fulfilled_from
object | null
When the store delivers from whichever of its locations is nearest the shopper, the location this order would leave from; distance tiers are measured from it. Null otherwise.
Show child attributes
rate_source
enum<string>
Which source produced the result — the store's zone, distance tier or fallback rate, a connected carrier account (shippo, or carrier when rate_source_format=neutral is sent or the store's setting is neutral), the store's custom shipping extension (custom), or none.
Available options:
zone,
tier,
fallback,
shippo,
carrier,
custom,
none
Example:
"tier"
rates
object[]
Carrier options, present when the store has a carrier account or a custom shipping extension AND a destination address + parcel were sent. Each is a real quote. To order with one, pass its rate_id and source as shipping_rate_id / shipping_rate_source on createOrder, where the option is fetched again from its source before it is charged.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Galactic Core API Documentation","colors":{"primary":"#3b82f6","light":"#60a5fa","dark":"#3b82f6"},"logo":{"light":"https://mintcdn.com/tybritelabs/9cNSmgnBxs-QU_UC/branding/gc-long-blue.png?fit=max\u0026auto=format\u0026n=9cNSmgnBxs-QU_UC\u0026q=85\u0026s=88d64ea989973d874ed73437459487f7","dark":"https://mintcdn.com/tybritelabs/9cNSmgnBxs-QU_UC/branding/gc-long-white.png?fit=max\u0026auto=format\u0026n=9cNSmgnBxs-QU_UC\u0026q=85\u0026s=051cafe35073e2d41a7bfb963b3ad22b"},"favicon":"https://mintcdn.com/tybritelabs/9cNSmgnBxs-QU_UC/favicon.svg?fit=max\u0026auto=format\u0026n=9cNSmgnBxs-QU_UC\u0026q=85\u0026s=83f32264cd55e429e1a14f9d0ee78689","navbar":{"links":[{"href":"https://gc.tybritelabs.com/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get Started","href":"/quickstart"}},"footer":{"socials":{"github":"https://github.com/tybrite","twitter":"https://twitter.com/tybrite","linkedin":"https://linkedin.com/company/tybrite"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://gc.tybritelabs.com/dashboard"},{"anchor":"GitHub","icon":"github","href":"https://github.com/tybrite"},{"anchor":"Support","icon":"envelope","href":"mailto:support@tybrite.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tybritelabs","hasAudioNarration":false,"actualSubdomain":"tybritelabs","customDomains":["docs.tybritelabs.com"],"gitSource":{"type":"github","owner":"tybrite","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b062237df4589996178296d","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"Galactic Core","count":350},{"language":"default","tag":"API Reference","count":294},{"language":"default","tag":"TLDP","count":51},{"language":"default","tag":"Getting Started","count":50},{"language":"default","tag":"TypeScript SDK","count":47},{"language":"default","tag":"Agent","count":43},{"language":"default","tag":"Customers","count":25},{"language":"default","tag":"Returns","count":15},{"language":"default","tag":"Marketplace","count":14},{"language":"default","tag":"B2B","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/shipping/calculate-shipping-fee","slug":"/api-reference/shipping/calculate-shipping-fee","pageMetadata":{"title":"Calculate shipping fee","description":"The ways a shopper can receive an order — the store's delivery options and pickup locations —\npriced for their location and basket, plus carrier options when a destination address and parcel\nare sent.\n\n**Location:** `latitude` + `longitude`, or a `place_name` (geocoded). `country_code` and\n`postal_code` may accompany either; they match zones defined by country and postcode, and a value\nsent here takes precedence over the one found by geocoding. A `country_code` alone (optionally with\n`postal_code`) is also a location: it prices zones that cover the country and the store's\n\"everywhere else\" rate without geocoding, which is enough for \"Delivery to the United Kingdom from\n£3.95\" on a product page. Zones drawn on a map and distance rates need coordinates and are skipped.\nWhen the store has no zone that a country can match (its rules are map zones and distance rates\nonly), a country alone cannot be priced: the answer is `200` with `configured: true`, `fee: null`,\n`cheapest_option: null` and `options` holding only the pickup locations, and no \"everywhere else\" price\nis given. Show no delivery price in that case; send coordinates to price it.\nWith no location at all, `address_to` + `parcel` returns carrier options only, with `fee` null.\n\n**Basket:** `order_total` is the merchandise after discounts, before tax and shipping; free-delivery\nthresholds and minimum orders are measured against it. `items` lists the basket's variants and\nquantities. It is optional, and is what lets the store apply rates that depend on the parcel's\nweight and rules it sets for particular product categories — a surcharge, delivery only to nearby\naddresses (`restriction: local_only`), or collection only (`restriction: pickup_only`).\n\n**Pricing:** the first zone containing the location — a zone drawn on a map, or a zone covering\nwhole countries or postcode prefixes; otherwise the distance tier matching its distance from the\nstore (a range includes its start and stops just before its end); otherwise the store's\n\"everywhere else\" rate. A matched rate is free when `order_total` reaches its free-delivery\nthreshold. A store with no rates at all charges nothing (`applied_rule: none`) and answers\n`configured: false` with `is_free: false`: it has set up no delivery charges through us, so a\nstorefront shows no delivery price and no free-delivery message. `configured: false` never means free\ndelivery.\n\n**Delivery dates:** an option carries `min_days` and `max_days` (delivery days after dispatch) and a\n`delivery_window` of calendar dates, when the store has set delivery days. Dates are computed once,\nhere, in the store's timezone (`delivery.timezone`): an order placed before the store's dispatch cutoff\n(`delivery.dispatch_cutoff`) on a delivery weekday dispatches that day, otherwise on the next delivery\nweekday, and days are counted on the store's delivery weekdays. Public holidays are not considered.\nA carrier option (`rates[]`) with only `estimated_days` carries `min_days` = `max_days` = that value and\nthe same computed window. `cheapest_option` is the lowest-fee available option.\n\n**Options:** `options[]` lists everything the shopper can choose between. The first delivery\noption, `id: place`, is the matched rate itself (\"Standard delivery\"); its fee is also returned as\n`fee`. The store may add named options to the same rate — Express, Next day — with ids of the form\n`opt:\u003cid>`, each with its own fee and estimate. Pickup options (`method: pickup`, ids of the form\n`pickup:\u003clocation id>`) follow, nearest first when the location is known. An option with\n`available: false` exists but does not apply to this basket yet, usually because `order_total` is\nbelow its `minimum_order`. To order with an option, pass its `id` as `shipping_option_id` on\n`POST /v1/orders`.\n\n**No delivery to the address:** when the store does not deliver there but does offer pickup, the\nresponse is `200` with `deliverable: false`, `fee: null` and only the pickup options. When it offers\nneither, the answer is `400 shipping_not_deliverable`.\n\n**Multiple locations:** when the store delivers from whichever of its locations is nearest the\nshopper, `fulfilled_from` names that location, and distance tiers are measured from it.\n\n**Carrier options** (`rates[]`) come from the store's connected carrier account and its custom\nshipping extension. To order with one, pass its `rate_id` and `source` on `POST /v1/orders` as\n`shipping_rate_id` and `shipping_rate_source`.\n\nThis is a **read-only operation** (safe for publishable keys).","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/shipping/calculate","href":"/api-reference/shipping/calculate-shipping-fee","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"The ways a shopper can receive an order — the store’s delivery options and pickup locations —\\npriced for their location and basket, plus carrier options when a destination address and parcel\\nare sent.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Location:\"\n }), \" \", _jsx(_components.code, {\n children: \"latitude\"\n }), \" + \", _jsx(_components.code, {\n children: \"longitude\"\n }), \", or a \", _jsx(_components.code, {\n children: \"place_name\"\n }), \" (geocoded). \", _jsx(_components.code, {\n children: \"country_code\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"postal_code\"\n }), \" may accompany either; they match zones defined by country and postcode, and a value\\nsent here takes precedence over the one found by geocoding. A \", _jsx(_components.code, {\n children: \"country_code\"\n }), \" alone (optionally with\\n\", _jsx(_components.code, {\n children: \"postal_code\"\n }), \") is also a location: it prices zones that cover the country and the store’s\\n“everywhere else” rate without geocoding, which is enough for “Delivery to the United Kingdom from\\n£3.95” on a product page. Zones drawn on a map and distance rates need coordinates and are skipped.\\nWhen the store has no zone that a country can match (its rules are map zones and distance rates\\nonly), a country alone cannot be priced: the answer is \", _jsx(_components.code, {\n children: \"200\"\n }), \" with \", _jsx(_components.code, {\n children: \"configured: true\"\n }), \", \", _jsx(_components.code, {\n children: \"fee: null\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"cheapest_option: null\"\n }), \" and \", _jsx(_components.code, {\n children: \"options\"\n }), \" holding only the pickup locations, and no “everywhere else” price\\nis given. Show no delivery price in that case; send coordinates to price it.\\nWith no location at all, \", _jsx(_components.code, {\n children: \"address_to\"\n }), \" + \", _jsx(_components.code, {\n children: \"parcel\"\n }), \" returns carrier options only, with \", _jsx(_components.code, {\n children: \"fee\"\n }), \" null.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Basket:\"\n }), \" \", _jsx(_components.code, {\n children: \"order_total\"\n }), \" is the merchandise after discounts, before tax and shipping; free-delivery\\nthresholds and minimum orders are measured against it. \", _jsx(_components.code, {\n children: \"items\"\n }), \" lists the basket’s variants and\\nquantities. It is optional, and is what lets the store apply rates that depend on the parcel’s\\nweight and rules it sets for particular product categories — a surcharge, delivery only to nearby\\naddresses (\", _jsx(_components.code, {\n children: \"restriction: local_only\"\n }), \"), or collection only (\", _jsx(_components.code, {\n children: \"restriction: pickup_only\"\n }), \").\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Pricing:\"\n }), \" the first zone containing the location — a zone drawn on a map, or a zone covering\\nwhole countries or postcode prefixes; otherwise the distance tier matching its distance from the\\nstore (a range includes its start and stops just before its end); otherwise the store’s\\n“everywhere else” rate. A matched rate is free when \", _jsx(_components.code, {\n children: \"order_total\"\n }), \" reaches its free-delivery\\nthreshold. A store with no rates at all charges nothing (\", _jsx(_components.code, {\n children: \"applied_rule: none\"\n }), \") and answers\\n\", _jsx(_components.code, {\n children: \"configured: false\"\n }), \" with \", _jsx(_components.code, {\n children: \"is_free: false\"\n }), \": it has set up no delivery charges through us, so a\\nstorefront shows no delivery price and no free-delivery message. \", _jsx(_components.code, {\n children: \"configured: false\"\n }), \" never means free\\ndelivery.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Delivery dates:\"\n }), \" an option carries \", _jsx(_components.code, {\n children: \"min_days\"\n }), \" and \", _jsx(_components.code, {\n children: \"max_days\"\n }), \" (delivery days after dispatch) and a\\n\", _jsx(_components.code, {\n children: \"delivery_window\"\n }), \" of calendar dates, when the store has set delivery days. Dates are computed once,\\nhere, in the store’s timezone (\", _jsx(_components.code, {\n children: \"delivery.timezone\"\n }), \"): an order placed before the store’s dispatch cutoff\\n(\", _jsx(_components.code, {\n children: \"delivery.dispatch_cutoff\"\n }), \") on a delivery weekday dispatches that day, otherwise on the next delivery\\nweekday, and days are counted on the store’s delivery weekdays. Public holidays are not considered.\\nA carrier option (\", _jsx(_components.code, {\n children: \"rates[]\"\n }), \") with only \", _jsx(_components.code, {\n children: \"estimated_days\"\n }), \" carries \", _jsx(_components.code, {\n children: \"min_days\"\n }), \" = \", _jsx(_components.code, {\n children: \"max_days\"\n }), \" = that value and\\nthe same computed window. \", _jsx(_components.code, {\n children: \"cheapest_option\"\n }), \" is the lowest-fee available option.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Options:\"\n }), \" \", _jsx(_components.code, {\n children: \"options[]\"\n }), \" lists everything the shopper can choose between. The first delivery\\noption, \", _jsx(_components.code, {\n children: \"id: place\"\n }), \", is the matched rate itself (“Standard delivery”); its fee is also returned as\\n\", _jsx(_components.code, {\n children: \"fee\"\n }), \". The store may add named options to the same rate — Express, Next day — with ids of the form\\n\", _jsx(_components.code, {\n children: \"opt:\u003cid>\"\n }), \", each with its own fee and estimate. Pickup options (\", _jsx(_components.code, {\n children: \"method: pickup\"\n }), \", ids of the form\\n\", _jsx(_components.code, {\n children: \"pickup:\u003clocation id>\"\n }), \") follow, nearest first when the location is known. An option with\\n\", _jsx(_components.code, {\n children: \"available: false\"\n }), \" exists but does not apply to this basket yet, usually because \", _jsx(_components.code, {\n children: \"order_total\"\n }), \" is\\nbelow its \", _jsx(_components.code, {\n children: \"minimum_order\"\n }), \". To order with an option, pass its \", _jsx(_components.code, {\n children: \"id\"\n }), \" as \", _jsx(_components.code, {\n children: \"shipping_option_id\"\n }), \" on\\n\", _jsx(_components.code, {\n children: \"POST /v1/orders\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"No delivery to the address:\"\n }), \" when the store does not deliver there but does offer pickup, the\\nresponse is \", _jsx(_components.code, {\n children: \"200\"\n }), \" with \", _jsx(_components.code, {\n children: \"deliverable: false\"\n }), \", \", _jsx(_components.code, {\n children: \"fee: null\"\n }), \" and only the pickup options. When it offers\\nneither, the answer is \", _jsx(_components.code, {\n children: \"400 shipping_not_deliverable\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Multiple locations:\"\n }), \" when the store delivers from whichever of its locations is nearest the\\nshopper, \", _jsx(_components.code, {\n children: \"fulfilled_from\"\n }), \" names that location, and distance tiers are measured from it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Carrier options\"\n }), \" (\", _jsx(_components.code, {\n children: \"rates[]\"\n }), \") come from the store’s connected carrier account and its custom\\nshipping extension. To order with one, pass its \", _jsx(_components.code, {\n children: \"rate_id\"\n }), \" and \", _jsx(_components.code, {\n children: \"source\"\n }), \" on \", _jsx(_components.code, {\n children: \"POST /v1/orders\"\n }), \" as\\n\", _jsx(_components.code, {\n children: \"shipping_rate_id\"\n }), \" and \", _jsx(_components.code, {\n children: \"shipping_rate_source\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"This is a \", _jsx(_components.strong, {\n children: \"read-only operation\"\n }), \" (safe for publishable keys).\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Calculate shipping fee","description":"The ways a shopper can receive an order — the store's delivery options and pickup locations —\npriced for their location and basket, plus carrier options when a destination address and parcel\nare sent.\n\n**Location:** `latitude` + `longitude`, or a `place_name` (geocoded). `country_code` and\n`postal_code` may accompany either; they match zones defined by country and postcode, and a value\nsent here takes precedence over the one found by geocoding. A `country_code` alone (optionally with\n`postal_code`) is also a location: it prices zones that cover the country and the store's\n\"everywhere else\" rate without geocoding, which is enough for \"Delivery to the United Kingdom from\n£3.95\" on a product page. Zones drawn on a map and distance rates need coordinates and are skipped.\nWhen the store has no zone that a country can match (its rules are map zones and distance rates\nonly), a country alone cannot be priced: the answer is `200` with `configured: true`, `fee: null`,\n`cheapest_option: null` and `options` holding only the pickup locations, and no \"everywhere else\" price\nis given. Show no delivery price in that case; send coordinates to price it.\nWith no location at all, `address_to` + `parcel` returns carrier options only, with `fee` null.\n\n**Basket:** `order_total` is the merchandise after discounts, before tax and shipping; free-delivery\nthresholds and minimum orders are measured against it. `items` lists the basket's variants and\nquantities. It is optional, and is what lets the store apply rates that depend on the parcel's\nweight and rules it sets for particular product categories — a surcharge, delivery only to nearby\naddresses (`restriction: local_only`), or collection only (`restriction: pickup_only`).\n\n**Pricing:** the first zone containing the location — a zone drawn on a map, or a zone covering\nwhole countries or postcode prefixes; otherwise the distance tier matching its distance from the\nstore (a range includes its start and stops just before its end); otherwise the store's\n\"everywhere else\" rate. A matched rate is free when `order_total` reaches its free-delivery\nthreshold. A store with no rates at all charges nothing (`applied_rule: none`) and answers\n`configured: false` with `is_free: false`: it has set up no delivery charges through us, so a\nstorefront shows no delivery price and no free-delivery message. `configured: false` never means free\ndelivery.\n\n**Delivery dates:** an option carries `min_days` and `max_days` (delivery days after dispatch) and a\n`delivery_window` of calendar dates, when the store has set delivery days. Dates are computed once,\nhere, in the store's timezone (`delivery.timezone`): an order placed before the store's dispatch cutoff\n(`delivery.dispatch_cutoff`) on a delivery weekday dispatches that day, otherwise on the next delivery\nweekday, and days are counted on the store's delivery weekdays. Public holidays are not considered.\nA carrier option (`rates[]`) with only `estimated_days` carries `min_days` = `max_days` = that value and\nthe same computed window. `cheapest_option` is the lowest-fee available option.\n\n**Options:** `options[]` lists everything the shopper can choose between. The first delivery\noption, `id: place`, is the matched rate itself (\"Standard delivery\"); its fee is also returned as\n`fee`. The store may add named options to the same rate — Express, Next day — with ids of the form\n`opt:\u003cid>`, each with its own fee and estimate. Pickup options (`method: pickup`, ids of the form\n`pickup:\u003clocation id>`) follow, nearest first when the location is known. An option with\n`available: false` exists but does not apply to this basket yet, usually because `order_total` is\nbelow its `minimum_order`. To order with an option, pass its `id` as `shipping_option_id` on\n`POST /v1/orders`.\n\n**No delivery to the address:** when the store does not deliver there but does offer pickup, the\nresponse is `200` with `deliverable: false`, `fee: null` and only the pickup options. When it offers\nneither, the answer is `400 shipping_not_deliverable`.\n\n**Multiple locations:** when the store delivers from whichever of its locations is nearest the\nshopper, `fulfilled_from` names that location, and distance tiers are measured from it.\n\n**Carrier options** (`rates[]`) come from the store's connected carrier account and its custom\nshipping extension. To order with one, pass its `rate_id` and `source` on `POST /v1/orders` as\n`shipping_rate_id` and `shipping_rate_source`.\n\nThis is a **read-only operation** (safe for publishable keys).","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/shipping/calculate","href":"/api-reference/shipping/calculate-shipping-fee","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/tybritelabs/af1ac4e439492905/sync.js","/_mintlify/custom/tybritelabs/cffa438ecec94ea5/scripts/check-tldp-isolation.js"],"openApiReferenceData":{"operation":{"operationId":"calculateShipping","tags":["Shipping"],"summary":"Calculate shipping fee","description":"The ways a shopper can receive an order — the store's delivery options and pickup locations —\npriced for their location and basket, plus carrier options when a destination address and parcel\nare sent.\n\n**Location:** `latitude` + `longitude`, or a `place_name` (geocoded). `country_code` and\n`postal_code` may accompany either; they match zones defined by country and postcode, and a value\nsent here takes precedence over the one found by geocoding. A `country_code` alone (optionally with\n`postal_code`) is also a location: it prices zones that cover the country and the store's\n\"everywhere else\" rate without geocoding, which is enough for \"Delivery to the United Kingdom from\n£3.95\" on a product page. Zones drawn on a map and distance rates need coordinates and are skipped.\nWhen the store has no zone that a country can match (its rules are map zones and distance rates\nonly), a country alone cannot be priced: the answer is `200` with `configured: true`, `fee: null`,\n`cheapest_option: null` and `options` holding only the pickup locations, and no \"everywhere else\" price\nis given. Show no delivery price in that case; send coordinates to price it.\nWith no location at all, `address_to` + `parcel` returns carrier options only, with `fee` null.\n\n**Basket:** `order_total` is the merchandise after discounts, before tax and shipping; free-delivery\nthresholds and minimum orders are measured against it. `items` lists the basket's variants and\nquantities. It is optional, and is what lets the store apply rates that depend on the parcel's\nweight and rules it sets for particular product categories — a surcharge, delivery only to nearby\naddresses (`restriction: local_only`), or collection only (`restriction: pickup_only`).\n\n**Pricing:** the first zone containing the location — a zone drawn on a map, or a zone covering\nwhole countries or postcode prefixes; otherwise the distance tier matching its distance from the\nstore (a range includes its start and stops just before its end); otherwise the store's\n\"everywhere else\" rate. A matched rate is free when `order_total` reaches its free-delivery\nthreshold. A store with no rates at all charges nothing (`applied_rule: none`) and answers\n`configured: false` with `is_free: false`: it has set up no delivery charges through us, so a\nstorefront shows no delivery price and no free-delivery message. `configured: false` never means free\ndelivery.\n\n**Delivery dates:** an option carries `min_days` and `max_days` (delivery days after dispatch) and a\n`delivery_window` of calendar dates, when the store has set delivery days. Dates are computed once,\nhere, in the store's timezone (`delivery.timezone`): an order placed before the store's dispatch cutoff\n(`delivery.dispatch_cutoff`) on a delivery weekday dispatches that day, otherwise on the next delivery\nweekday, and days are counted on the store's delivery weekdays. Public holidays are not considered.\nA carrier option (`rates[]`) with only `estimated_days` carries `min_days` = `max_days` = that value and\nthe same computed window. `cheapest_option` is the lowest-fee available option.\n\n**Options:** `options[]` lists everything the shopper can choose between. The first delivery\noption, `id: place`, is the matched rate itself (\"Standard delivery\"); its fee is also returned as\n`fee`. The store may add named options to the same rate — Express, Next day — with ids of the form\n`opt:\u003cid>`, each with its own fee and estimate. Pickup options (`method: pickup`, ids of the form\n`pickup:\u003clocation id>`) follow, nearest first when the location is known. An option with\n`available: false` exists but does not apply to this basket yet, usually because `order_total` is\nbelow its `minimum_order`. To order with an option, pass its `id` as `shipping_option_id` on\n`POST /v1/orders`.\n\n**No delivery to the address:** when the store does not deliver there but does offer pickup, the\nresponse is `200` with `deliverable: false`, `fee: null` and only the pickup options. When it offers\nneither, the answer is `400 shipping_not_deliverable`.\n\n**Multiple locations:** when the store delivers from whichever of its locations is nearest the\nshopper, `fulfilled_from` names that location, and distance tiers are measured from it.\n\n**Carrier options** (`rates[]`) come from the store's connected carrier account and its custom\nshipping extension. To order with one, pass its `rate_id` and `source` on `POST /v1/orders` as\n`shipping_rate_id` and `shipping_rate_source`.\n\nThis is a **read-only operation** (safe for publishable keys).","security":["7e9d8315-5d23-4a73-9b4a-8f57d11f2e11"],"parameters":["2f73b6d2-fd7a-4e23-90d3-959dbd613467"],"requestBody":"7015c9f8-3e40-4fc3-8abf-e4cbc16154b8","responses":{"200":"1006e4ec-4613-4c37-8b5e-da72821980c2","400":"a167c7b0-8fef-4e27-97c2-90ecd48c53b1","401":"c0a832d0-7d1a-4b75-8327-0a6a0cfbbcec","402":"0ba55f57-4bfc-4d23-9fb3-9ec73c38d69c","403":"c4b26b59-c3e7-41fa-b944-625e88cbed31","429":"4cbb6436-1e70-46d8-b16e-f27b43e97ed5","500":"3fa9daea-28c6-46b2-afa5-9ea5382273ee"},"method":"post","type":"path","servers":["23497b63-1a0b-4f70-a5d0-9eec416be49d"],"path":"/v1/shipping/calculate","baseUrlOptions":["https://api.tybritelabs.com"],"title":"Calculate shipping fee","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2f73b6d2-fd7a-4e23-90d3-959dbd613467":{"name":"rate_source_format","in":"query","required":false,"schema":{"type":"string","enum":["provider","neutral"],"isRequired":false,"description":"How `rate_source` names a carrier-account source. `provider` uses `shippo`; `neutral` uses `carrier`. When omitted, the store's own setting applies (`provider` unless the merchant chose `neutral`). A request may send either spelling wherever a rate source is accepted.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"How `rate_source` names a carrier-account source. `provider` uses `shippo`; `neutral` uses `carrier`. When omitted, the store's own setting applies (`provider` unless the merchant chose `neutral`). A request may send either spelling wherever a rate source is accepted."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Input for a shipping fee calculation. Provide GPS coordinates (latitude + longitude), a place_name to geocode, a country_code alone, or — for carrier options only — address_to with a parcel.","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","format":"double","minimum":-90,"maximum":90,"description":"Customer's GPS latitude","example":40.6782,"isRequired":true,"uniqueKey":"oneOf.0.latitude","typeLabel":"number\u003cdouble>"},"longitude":{"type":"number","format":"double","minimum":-180,"maximum":180,"description":"Customer's GPS longitude","example":-73.9442,"isRequired":true,"uniqueKey":"oneOf.0.longitude","typeLabel":"number\u003cdouble>"},"country_code":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code of the destination. Matches zones defined by country; a value sent here takes precedence over the one found from the location.","example":"US","uniqueKey":"oneOf.0.country_code","typeLabel":"string"},"postal_code":{"type":"string","maxLength":16,"description":"Postcode of the destination. Matches zones narrowed to postcode prefixes; a value sent here takes precedence over the one found from the location.","example":"11225","uniqueKey":"oneOf.0.postal_code","typeLabel":"string"},"items":{"type":"array","maxItems":500,"description":"The basket's lines. Optional; with it, the store's weight-based rates and its rules for product categories (surcharges, local-only delivery, collection only) apply. A rate that depends on weight applies only when every line's variant has a weight.","items":{"type":"object","description":"One line of the basket, by variant.","required":["variant_id"],"properties":{"variant_id":{"type":"string","format":"uuid","example":"15ca5a86-4b1b-47c3-8762-a1aa43941565","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].variant_id","typeLabel":"string\u003cuuid>"},"quantity":{"type":"integer","minimum":1,"default":1,"example":2,"uniqueKey":"oneOf.0.\\items.items.[INDEX].quantity","typeLabel":"integer"}},"uniqueKey":"oneOf.0.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.\\items","typeLabel":"object[]"},"order_total":{"type":"number","format":"float","minimum":0,"description":"The order's merchandise after discounts, before tax and shipping. A free-delivery threshold is compared against this figure. Must be a number of zero or more; defaults to 0.","example":50,"uniqueKey":"oneOf.0.order_total","typeLabel":"number\u003cfloat>"},"address_to":{"type":"object","description":"A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as `rates[]`).","properties":{"name":{"type":"string","uniqueKey":"oneOf.0.address_to.name","typeLabel":"string"},"street1":{"type":"string","example":"350 Fifth Avenue","uniqueKey":"oneOf.0.address_to.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"oneOf.0.address_to.street2","typeLabel":"string"},"city":{"type":"string","example":"New York","uniqueKey":"oneOf.0.address_to.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"oneOf.0.address_to.state","typeLabel":"string"},"zip":{"type":"string","example":"10118","uniqueKey":"oneOf.0.address_to.zip","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"oneOf.0.address_to.country","typeLabel":"string"},"email":{"type":"string","uniqueKey":"oneOf.0.address_to.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"oneOf.0.address_to.phone","typeLabel":"string"}},"uniqueKey":"oneOf.0.address_to","typeLabel":"object"},"address_from":{"type":"object","description":"A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as `rates[]`).","properties":{"name":{"type":"string","uniqueKey":"oneOf.0.address_from.name","typeLabel":"string"},"street1":{"type":"string","example":"350 Fifth Avenue","uniqueKey":"oneOf.0.address_from.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"oneOf.0.address_from.street2","typeLabel":"string"},"city":{"type":"string","example":"New York","uniqueKey":"oneOf.0.address_from.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"oneOf.0.address_from.state","typeLabel":"string"},"zip":{"type":"string","example":"10118","uniqueKey":"oneOf.0.address_from.zip","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"oneOf.0.address_from.country","typeLabel":"string"},"email":{"type":"string","uniqueKey":"oneOf.0.address_from.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"oneOf.0.address_from.phone","typeLabel":"string"}},"uniqueKey":"oneOf.0.address_from","typeLabel":"object"},"parcel":{"type":"object","description":"Parcel dimensions + weight for live carrier rating.","properties":{"length":{"type":"string","example":"10","uniqueKey":"oneOf.0.parcel.length","typeLabel":"string"},"width":{"type":"string","example":"8","uniqueKey":"oneOf.0.parcel.width","typeLabel":"string"},"height":{"type":"string","example":"4","uniqueKey":"oneOf.0.parcel.height","typeLabel":"string"},"distance_unit":{"type":"string","example":"in","uniqueKey":"oneOf.0.parcel.distance_unit","typeLabel":"string"},"weight":{"type":"string","example":"2","uniqueKey":"oneOf.0.parcel.weight","typeLabel":"string"},"mass_unit":{"type":"string","example":"lb","uniqueKey":"oneOf.0.parcel.mass_unit","typeLabel":"string"}},"uniqueKey":"oneOf.0.parcel","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Input for a shipping fee calculation. Provide GPS coordinates (latitude + longitude), a place_name to geocode, a country_code alone, or — for carrier options only — address_to with a parcel.","required":["place_name"],"properties":{"place_name":{"type":"string","description":"Address or place name to geocode (e.g., \"SoHo, New York, USA\")","example":"SoHo, New York, USA","isRequired":true,"uniqueKey":"oneOf.1.place_name","typeLabel":"string"},"country_code":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code of the destination. Narrows the geocoding search and matches zones defined by country; it takes precedence over the country found by geocoding.","example":"US","uniqueKey":"oneOf.1.country_code","typeLabel":"string"},"postal_code":{"type":"string","maxLength":16,"description":"Postcode of the destination. Matches zones narrowed to postcode prefixes; it takes precedence over the postcode found by geocoding.","example":"10012","uniqueKey":"oneOf.1.postal_code","typeLabel":"string"},"items":{"type":"array","maxItems":500,"description":"The basket's lines. Optional; with it, the store's weight-based rates and its rules for product categories (surcharges, local-only delivery, collection only) apply.","items":{"type":"object","description":"One line of the basket, by variant.","required":["variant_id"],"properties":{"variant_id":{"type":"string","format":"uuid","example":"15ca5a86-4b1b-47c3-8762-a1aa43941565","isRequired":true,"uniqueKey":"oneOf.1.\\items.items.[INDEX].variant_id","typeLabel":"string\u003cuuid>"},"quantity":{"type":"integer","minimum":1,"default":1,"example":2,"uniqueKey":"oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer"}},"uniqueKey":"oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.\\items","typeLabel":"object[]"},"order_total":{"type":"number","format":"float","minimum":0,"description":"The order's merchandise after discounts, before tax and shipping. A free-delivery threshold is compared against this figure. Must be a number of zero or more; defaults to 0.","example":50,"uniqueKey":"oneOf.1.order_total","typeLabel":"number\u003cfloat>"},"address_to":{"type":"object","description":"A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as `rates[]`).","properties":{"name":{"type":"string","uniqueKey":"oneOf.1.address_to.name","typeLabel":"string"},"street1":{"type":"string","example":"350 Fifth Avenue","uniqueKey":"oneOf.1.address_to.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"oneOf.1.address_to.street2","typeLabel":"string"},"city":{"type":"string","example":"New York","uniqueKey":"oneOf.1.address_to.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"oneOf.1.address_to.state","typeLabel":"string"},"zip":{"type":"string","example":"10118","uniqueKey":"oneOf.1.address_to.zip","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"oneOf.1.address_to.country","typeLabel":"string"},"email":{"type":"string","uniqueKey":"oneOf.1.address_to.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"oneOf.1.address_to.phone","typeLabel":"string"}},"uniqueKey":"oneOf.1.address_to","typeLabel":"object"},"address_from":{"type":"object","description":"A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as `rates[]`).","properties":{"name":{"type":"string","uniqueKey":"oneOf.1.address_from.name","typeLabel":"string"},"street1":{"type":"string","example":"350 Fifth Avenue","uniqueKey":"oneOf.1.address_from.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"oneOf.1.address_from.street2","typeLabel":"string"},"city":{"type":"string","example":"New York","uniqueKey":"oneOf.1.address_from.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"oneOf.1.address_from.state","typeLabel":"string"},"zip":{"type":"string","example":"10118","uniqueKey":"oneOf.1.address_from.zip","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"oneOf.1.address_from.country","typeLabel":"string"},"email":{"type":"string","uniqueKey":"oneOf.1.address_from.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"oneOf.1.address_from.phone","typeLabel":"string"}},"uniqueKey":"oneOf.1.address_from","typeLabel":"object"},"parcel":{"type":"object","description":"Parcel dimensions + weight for live carrier rating.","properties":{"length":{"type":"string","example":"10","uniqueKey":"oneOf.1.parcel.length","typeLabel":"string"},"width":{"type":"string","example":"8","uniqueKey":"oneOf.1.parcel.width","typeLabel":"string"},"height":{"type":"string","example":"4","uniqueKey":"oneOf.1.parcel.height","typeLabel":"string"},"distance_unit":{"type":"string","example":"in","uniqueKey":"oneOf.1.parcel.distance_unit","typeLabel":"string"},"weight":{"type":"string","example":"2","uniqueKey":"oneOf.1.parcel.weight","typeLabel":"string"},"mass_unit":{"type":"string","example":"lb","uniqueKey":"oneOf.1.parcel.mass_unit","typeLabel":"string"}},"uniqueKey":"oneOf.1.parcel","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"Input for a shipping fee calculation. Provide GPS coordinates (latitude + longitude), a place_name to geocode, a country_code alone, or — for carrier options only — address_to with a parcel.","required":["country_code"],"properties":{"country_code":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code of the destination.","example":"GB","isRequired":true,"uniqueKey":"oneOf.2.country_code","typeLabel":"string"},"postal_code":{"type":"string","maxLength":16,"description":"Postcode of the destination, for zones narrowed to postcode prefixes.","example":"SW1A","uniqueKey":"oneOf.2.postal_code","typeLabel":"string"},"items":{"type":"array","maxItems":500,"description":"The basket's lines. Optional.","items":{"type":"object","description":"One line of the basket, by variant.","required":["variant_id"],"properties":{"variant_id":{"type":"string","format":"uuid","example":"15ca5a86-4b1b-47c3-8762-a1aa43941565","isRequired":true,"uniqueKey":"oneOf.2.\\items.items.[INDEX].variant_id","typeLabel":"string\u003cuuid>"},"quantity":{"type":"integer","minimum":1,"default":1,"example":2,"uniqueKey":"oneOf.2.\\items.items.[INDEX].quantity","typeLabel":"integer"}},"uniqueKey":"oneOf.2.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.\\items","typeLabel":"object[]"},"order_total":{"type":"number","format":"float","minimum":0,"description":"The order's merchandise after discounts, before tax and shipping. Defaults to 0.","example":50,"uniqueKey":"oneOf.2.order_total","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","description":"Input for a shipping fee calculation. Provide GPS coordinates (latitude + longitude), a place_name to geocode, a country_code alone, or — for carrier options only — address_to with a parcel.","required":["address_to","parcel"],"properties":{"address_to":{"type":"object","description":"A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as `rates[]`).","properties":{"name":{"type":"string","uniqueKey":"oneOf.3.address_to.name","typeLabel":"string"},"street1":{"type":"string","example":"350 Fifth Avenue","uniqueKey":"oneOf.3.address_to.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"oneOf.3.address_to.street2","typeLabel":"string"},"city":{"type":"string","example":"New York","uniqueKey":"oneOf.3.address_to.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"oneOf.3.address_to.state","typeLabel":"string"},"zip":{"type":"string","example":"10118","uniqueKey":"oneOf.3.address_to.zip","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"oneOf.3.address_to.country","typeLabel":"string"},"email":{"type":"string","uniqueKey":"oneOf.3.address_to.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"oneOf.3.address_to.phone","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.3.address_to","typeLabel":"object"},"parcel":{"type":"object","description":"Parcel dimensions + weight for live carrier rating.","properties":{"length":{"type":"string","example":"10","uniqueKey":"oneOf.3.parcel.length","typeLabel":"string"},"width":{"type":"string","example":"8","uniqueKey":"oneOf.3.parcel.width","typeLabel":"string"},"height":{"type":"string","example":"4","uniqueKey":"oneOf.3.parcel.height","typeLabel":"string"},"distance_unit":{"type":"string","example":"in","uniqueKey":"oneOf.3.parcel.distance_unit","typeLabel":"string"},"weight":{"type":"string","example":"2","uniqueKey":"oneOf.3.parcel.weight","typeLabel":"string"},"mass_unit":{"type":"string","example":"lb","uniqueKey":"oneOf.3.parcel.mass_unit","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.3.parcel","typeLabel":"object"},"address_from":{"type":"object","description":"A shipping address for live carrier rating. Supplied alongside a parcel to ALSO get live carrier rates from a connected carrier account (returned as `rates[]`).","properties":{"name":{"type":"string","uniqueKey":"oneOf.3.address_from.name","typeLabel":"string"},"street1":{"type":"string","example":"350 Fifth Avenue","uniqueKey":"oneOf.3.address_from.street1","typeLabel":"string"},"street2":{"type":"string","uniqueKey":"oneOf.3.address_from.street2","typeLabel":"string"},"city":{"type":"string","example":"New York","uniqueKey":"oneOf.3.address_from.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"oneOf.3.address_from.state","typeLabel":"string"},"zip":{"type":"string","example":"10118","uniqueKey":"oneOf.3.address_from.zip","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"oneOf.3.address_from.country","typeLabel":"string"},"email":{"type":"string","uniqueKey":"oneOf.3.address_from.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"oneOf.3.address_from.phone","typeLabel":"string"}},"uniqueKey":"oneOf.3.address_from","typeLabel":"object"}},"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"short_distance":{"title":"short_distance","summary":"Brooklyn shopper, $50 order (Local tier)","value":{"latitude":40.6782,"longitude":-73.9442,"order_total":50}},"large_order_free_delivery":{"title":"large_order_free_delivery","summary":"Brooklyn shopper, $100 order (over the free-shipping threshold)","value":{"latitude":40.6782,"longitude":-73.9442,"order_total":100}},"with_basket":{"title":"with_basket","summary":"Brooklyn shopper, ZIP code and basket lines (weight and category rules apply)","value":{"latitude":40.6782,"longitude":-73.9442,"country_code":"US","postal_code":"11225","order_total":50,"items":[{"variant_id":"15ca5a86-4b1b-47c3-8762-a1aa43941565","quantity":2}]}},"country_only":{"title":"country_only","summary":"A country alone, for a product-page delivery price","value":{"country_code":"GB","order_total":40}},"carrier_options_only":{"title":"carrier_options_only","summary":"Carrier options for an address and parcel, no location","value":{"address_to":{"name":"Jordan Lee","street1":"350 Fifth Avenue","city":"New York","state":"NY","zip":"10118","country":"US"},"parcel":{"length":"10","width":"8","height":"4","distance_unit":"in","weight":"2","mass_unit":"lb"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1006e4ec-4613-4c37-8b5e-da72821980c2":{"description":"The delivery charge for the location","headers":{"Tybrite-Environment":{"description":"Confirms which environment your API key resolved to. Use this to verify that test keys\nare hitting sandbox data and live keys are hitting production data.\n\n- `production` — requests are scoped to live data; real orders, customers, and payments\n- `sandbox` — requests are scoped to isolated test data; no real money is moved\n\nPresent on every authenticated response, including error responses.\n","schema":{"type":"string","enum":["production","sandbox"]},"example":"sandbox"}},"content":{"application/json":{"schema":{"type":"object","description":"The store's delivery charge for a location and order total. An address is priced by the first zone that contains it, otherwise by the distance rate for its distance from the store, otherwise by the store's \"everywhere else\" rate. A store with no delivery rates at all charges nothing (`applied_rule: none`). `options` lists every delivery option and pickup location the shopper can choose between. When the store does not deliver to the address but offers pickup, `deliverable` is false, `fee` is null and `options` holds the pickup locations only; when it offers neither, the answer is `400 shipping_not_deliverable` instead.","properties":{"fee":{"oneOf":[{"type":"number","format":"float","minimum":0,"example":5.99,"description":"The standard delivery charge (the `place` option's fee), in `currency`. Null on a carrier-options-only request (no location was sent) and when the store does not deliver to the address but offers pickup (`deliverable: false`).","uniqueKey":"fee.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","minimum":0,"example":5.99,"description":"The standard delivery charge (the `place` option's fee), in `currency`. Null on a carrier-options-only request (no location was sent) and when the store does not deliver to the address but offers pickup (`deliverable: false`).","uniqueKey":"fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"fee","typeLabel":"number\u003cfloat> | null"},"currency":{"oneOf":[{"type":"string","example":"USD","description":"The currency of `fee` and `free_threshold` — the store's own currency.","uniqueKey":"currency.oneOf.0","typeLabel":"string"},{"type":"null","example":"USD","description":"The currency of `fee` and `free_threshold` — the store's own currency.","uniqueKey":"currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency","typeLabel":"string | null"},"zone_name":{"oneOf":[{"type":"string","example":null,"description":"The zone that priced the address, when a zone did.","uniqueKey":"zone_name.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"description":"The zone that priced the address, when a zone did.","uniqueKey":"zone_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"zone_name","typeLabel":"string | null"},"tier_name":{"oneOf":[{"type":"string","example":"Local (within 10 km)","description":"The distance rate that priced the address, when one did.","uniqueKey":"tier_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Local (within 10 km)","description":"The distance rate that priced the address, when one did.","uniqueKey":"tier_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tier_name","typeLabel":"string | null"},"distance_meters":{"oneOf":[{"type":"number","format":"float","example":8547.99,"description":"Distance from the store to the address in meters, when it was measured.","uniqueKey":"distance_meters.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","example":8547.99,"description":"Distance from the store to the address in meters, when it was measured.","uniqueKey":"distance_meters.oneOf.1","typeLabel":"null"}],"uniqueKey":"distance_meters","typeLabel":"number\u003cfloat> | null"},"is_free":{"type":"boolean","example":false,"description":"True when the store's rate delivers this order free (`fee` is 0 under a configured rate). Always false when `configured` is false: a store with no delivery rates has not offered free delivery.","uniqueKey":"is_free","typeLabel":"boolean"},"free_threshold":{"oneOf":[{"type":"number","example":75,"description":"The order total from which the matched rate delivers free, or null when it has none.","uniqueKey":"free_threshold.oneOf.0","typeLabel":"number"},{"type":"null","example":75,"description":"The order total from which the matched rate delivers free, or null when it has none.","uniqueKey":"free_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"free_threshold","typeLabel":"number | null"},"configured":{"oneOf":[{"type":"boolean","example":true,"description":"Whether the store has any delivery rates. False means the store has not set up delivery charges through us: `fee` is 0, `is_free` is false, and a storefront shows no delivery price or free-delivery message at all.","uniqueKey":"configured.oneOf.0","typeLabel":"boolean"},{"type":"null","example":true,"description":"Whether the store has any delivery rates. False means the store has not set up delivery charges through us: `fee` is 0, `is_free` is false, and a storefront shows no delivery price or free-delivery message at all.","uniqueKey":"configured.oneOf.1","typeLabel":"null"}],"uniqueKey":"configured","typeLabel":"boolean | null"},"reason":{"type":"string","example":"Local (within 10 km)","description":"A short, shopper-readable explanation of the charge.","uniqueKey":"reason","typeLabel":"string"},"applied_rule":{"type":"string","enum":["zone","distance","fallback","none"],"example":"distance","description":"Which of the store's rates priced the address:\n- zone: a delivery zone contains it\n- distance: a distance rate matched its distance from the store\n- fallback: the store's \"everywhere else\" rate\n- none: the store has no delivery rates (fee 0), or a carrier-options-only request","uniqueKey":"applied_rule","typeLabel":"enum\u003cstring>"},"coordinates":{"oneOf":[{"type":"object","description":"The address's coordinates (geocoded when a place_name was sent), with the country and postcode used to match zones when known.","properties":{"latitude":{"type":"number","format":"double","example":40.758,"uniqueKey":"coordinates.oneOf.0.latitude","typeLabel":"number\u003cdouble>"},"longitude":{"type":"number","format":"double","example":-73.9855,"uniqueKey":"coordinates.oneOf.0.longitude","typeLabel":"number\u003cdouble>"},"country_code":{"oneOf":[{"type":"string","example":"US","uniqueKey":"coordinates.oneOf.0.country_code.oneOf.0","typeLabel":"string"},{"type":"null","example":"US","uniqueKey":"coordinates.oneOf.0.country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"coordinates.oneOf.0.country_code","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","example":"10036","uniqueKey":"coordinates.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","example":"10036","uniqueKey":"coordinates.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"coordinates.oneOf.0.postal_code","typeLabel":"string | null"}},"uniqueKey":"coordinates.oneOf.0","typeLabel":"object"},{"type":"null","description":"The address's coordinates (geocoded when a place_name was sent), with the country and postcode used to match zones when known.","properties":{"latitude":{"type":"number","format":"double","example":40.758},"longitude":{"type":"number","format":"double","example":-73.9855},"country_code":{"oneOf":[{"type":"string","example":"US"},{"type":"null","example":"US"}]},"postal_code":{"oneOf":[{"type":"string","example":"10036"},{"type":"null","example":"10036"}]}},"uniqueKey":"coordinates.oneOf.1","typeLabel":"null"}],"uniqueKey":"coordinates","typeLabel":"object | null"},"deliverable":{"type":"boolean","example":true,"description":"Whether the store delivers to the address. False when only pickup is offered for it — because the address is outside the store's delivery area, or because an item in the basket can only be collected.","uniqueKey":"deliverable","typeLabel":"boolean"},"restriction":{"type":"string","enum":["none","local_only","pickup_only"],"example":"none","description":"A limit the basket's items place on how the order can be received, from the store's rules for\nproduct categories:\n- none: no limit\n- local_only: delivered only within the store's map zones and distance tiers, not to country or\n postcode zones or the \"everywhere else\" rate\n- pickup_only: collection only; no delivery option is offered","uniqueKey":"restriction","typeLabel":"enum\u003cstring>"},"options":{"type":"array","description":"Every way the shopper can receive the order: the delivery options first (`place`, then any named options), then the pickup locations, nearest first when the location is known. Absent on a carrier-options-only request.","items":{"type":"object","description":"One way a shopper can receive the order — a delivery option or a pickup location — priced for the destination and basket.","required":["id","method","name","fee","currency","is_free","estimate","available"],"properties":{"id":{"type":"string","example":"place","description":"The option's id, passed as `shipping_option_id` on `POST /v1/orders`. `place` is the store's standard rate for the address; `opt:\u003cid>` is a further named option on the same rate (Express, Next day); `pickup:\u003clocation id>` is collection at a location.","isRequired":true,"uniqueKey":"options.items.[INDEX].id","typeLabel":"string"},"method":{"type":"string","enum":["delivery","pickup"],"example":"delivery","isRequired":true,"uniqueKey":"options.items.[INDEX].method","typeLabel":"enum\u003cstring>"},"name":{"type":"string","example":"Standard delivery","description":"The name to show the shopper.","isRequired":true,"uniqueKey":"options.items.[INDEX].name","typeLabel":"string"},"fee":{"type":"number","format":"float","minimum":0,"example":5.99,"description":"The charge for this option, in `currency`, after any free-delivery threshold and surcharge.","isRequired":true,"uniqueKey":"options.items.[INDEX].fee","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"options.items.[INDEX].currency","typeLabel":"string"},"is_free":{"type":"boolean","example":false,"description":"True when `fee` is 0.","isRequired":true,"uniqueKey":"options.items.[INDEX].is_free","typeLabel":"boolean"},"estimate":{"oneOf":[{"type":"string","example":"Next business day","description":"When the shopper can expect the order — a delivery estimate, or when a pickup order is ready — as the store wrote it. Null when the store has not given one.","isRequired":true,"uniqueKey":"options.items.[INDEX].estimate.oneOf.0","typeLabel":"string"},{"type":"null","example":"Next business day","description":"When the shopper can expect the order — a delivery estimate, or when a pickup order is ready — as the store wrote it. Null when the store has not given one.","isRequired":true,"uniqueKey":"options.items.[INDEX].estimate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"options.items.[INDEX].estimate","typeLabel":"string | null"},"available":{"type":"boolean","example":true,"description":"False when the option exists but does not apply to this basket — a pickup location whose `minimum_order` is above `order_total`. An unavailable option cannot be ordered with.","isRequired":true,"uniqueKey":"options.items.[INDEX].available","typeLabel":"boolean"},"min_days":{"oneOf":[{"type":"integer","example":2,"description":"The fewest delivery days, counted on the store's delivery weekdays after dispatch. Absent when the store has set no delivery days for this option.","uniqueKey":"options.items.[INDEX].min_days.oneOf.0","typeLabel":"integer"},{"type":"null","example":2,"description":"The fewest delivery days, counted on the store's delivery weekdays after dispatch. Absent when the store has set no delivery days for this option.","uniqueKey":"options.items.[INDEX].min_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].min_days","typeLabel":"integer | null"},"max_days":{"oneOf":[{"type":"integer","example":4,"description":"The most delivery days; equal to `min_days` when the store gave one number.","uniqueKey":"options.items.[INDEX].max_days.oneOf.0","typeLabel":"integer"},{"type":"null","example":4,"description":"The most delivery days; equal to `min_days` when the store gave one number.","uniqueKey":"options.items.[INDEX].max_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].max_days","typeLabel":"integer | null"},"delivery_window":{"oneOf":[{"type":"object","description":"The calendar dates the order is expected to arrive, computed for now in the store's timezone (`delivery.timezone`): dispatch is today when today is a delivery weekday and the store's cutoff has not passed, otherwise the next delivery weekday. Public holidays are not considered. Absent when the option has no delivery days.","properties":{"from":{"type":"string","format":"date","example":"2026-10-30","uniqueKey":"options.items.[INDEX].delivery_window.oneOf.0.from","typeLabel":"string\u003cdate>"},"to":{"type":"string","format":"date","example":"2026-11-03","uniqueKey":"options.items.[INDEX].delivery_window.oneOf.0.to","typeLabel":"string\u003cdate>"},"dispatch_date":{"type":"string","format":"date","example":"2026-10-29","uniqueKey":"options.items.[INDEX].delivery_window.oneOf.0.dispatch_date","typeLabel":"string\u003cdate>"}},"uniqueKey":"options.items.[INDEX].delivery_window.oneOf.0","typeLabel":"object"},{"type":"null","description":"The calendar dates the order is expected to arrive, computed for now in the store's timezone (`delivery.timezone`): dispatch is today when today is a delivery weekday and the store's cutoff has not passed, otherwise the next delivery weekday. Public holidays are not considered. Absent when the option has no delivery days.","properties":{"from":{"type":"string","format":"date","example":"2026-10-30"},"to":{"type":"string","format":"date","example":"2026-11-03"},"dispatch_date":{"type":"string","format":"date","example":"2026-10-29"}},"uniqueKey":"options.items.[INDEX].delivery_window.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].delivery_window","typeLabel":"object | null"},"free_threshold":{"oneOf":[{"type":"number","format":"float","example":75,"description":"The order total from which this option is free. Absent when it has none.","uniqueKey":"options.items.[INDEX].free_threshold.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","example":75,"description":"The order total from which this option is free. Absent when it has none.","uniqueKey":"options.items.[INDEX].free_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].free_threshold","typeLabel":"number\u003cfloat> | null"},"minimum_order":{"oneOf":[{"type":"number","format":"float","example":25,"description":"For a pickup option, the smallest order total it accepts. Absent when there is none.","uniqueKey":"options.items.[INDEX].minimum_order.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","example":25,"description":"For a pickup option, the smallest order total it accepts. Absent when there is none.","uniqueKey":"options.items.[INDEX].minimum_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"options.items.[INDEX].minimum_order","typeLabel":"number\u003cfloat> | null"},"location":{"type":"object","description":"For a pickup option, the location to collect from. Fields the store has not filled in are omitted.","properties":{"id":{"type":"string","format":"uuid","example":"3d5c7a10-8b2e-4f61-9c4d-1a2b3c4d5e6f","uniqueKey":"options.items.[INDEX].location.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Brooklyn store","uniqueKey":"options.items.[INDEX].location.name","typeLabel":"string"},"address":{"type":"object","properties":{"line1":{"type":"string","example":"145 Atlantic Avenue","uniqueKey":"options.items.[INDEX].location.address.line1","typeLabel":"string"},"line2":{"type":"string","uniqueKey":"options.items.[INDEX].location.address.line2","typeLabel":"string"},"city":{"type":"string","example":"Brooklyn","uniqueKey":"options.items.[INDEX].location.address.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"options.items.[INDEX].location.address.state","typeLabel":"string"},"postal_code":{"type":"string","example":"11201","uniqueKey":"options.items.[INDEX].location.address.postal_code","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"options.items.[INDEX].location.address.country","typeLabel":"string"}},"uniqueKey":"options.items.[INDEX].location.address","typeLabel":"object"},"latitude":{"type":"number","format":"double","example":40.6907,"uniqueKey":"options.items.[INDEX].location.latitude","typeLabel":"number\u003cdouble>"},"longitude":{"type":"number","format":"double","example":-73.9956,"uniqueKey":"options.items.[INDEX].location.longitude","typeLabel":"number\u003cdouble>"},"hours":{"type":"string","example":"Mon–Sat 10:00–19:00","uniqueKey":"options.items.[INDEX].location.hours","typeLabel":"string"},"instructions":{"type":"string","example":"Collect from the counter at the back of the store.","uniqueKey":"options.items.[INDEX].location.instructions","typeLabel":"string"},"distance_meters":{"type":"number","format":"float","example":3412.57,"description":"Distance from the shopper's location, when the location was sent.","uniqueKey":"options.items.[INDEX].location.distance_meters","typeLabel":"number\u003cfloat>"}},"uniqueKey":"options.items.[INDEX].location","typeLabel":"object"}},"uniqueKey":"options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"options","typeLabel":"object[]"},"cheapest_option":{"oneOf":[{"type":"object","description":"The lowest-fee available entry of `options` (the delivery options; the pickup options when there is no delivery), in the shape of a `ShippingOption`. Null when nothing is available, and null when the request named only a country and the store's rules are map zones and distance rates (a price would be a guess); show no delivery price then. Use it for \"Delivery from £3.95\" on a product page.","required":["id","method","name","fee","currency","is_free","estimate","available"],"properties":{"id":{"type":"string","example":"place","description":"The option's id, passed as `shipping_option_id` on `POST /v1/orders`. `place` is the store's standard rate for the address; `opt:\u003cid>` is a further named option on the same rate (Express, Next day); `pickup:\u003clocation id>` is collection at a location.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.id","typeLabel":"string"},"method":{"type":"string","enum":["delivery","pickup"],"example":"delivery","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.method","typeLabel":"enum\u003cstring>"},"name":{"type":"string","example":"Standard delivery","description":"The name to show the shopper.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.name","typeLabel":"string"},"fee":{"type":"number","format":"float","minimum":0,"example":5.99,"description":"The charge for this option, in `currency`, after any free-delivery threshold and surcharge.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.fee","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.currency","typeLabel":"string"},"is_free":{"type":"boolean","example":false,"description":"True when `fee` is 0.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.is_free","typeLabel":"boolean"},"estimate":{"oneOf":[{"type":"string","example":"Next business day","description":"When the shopper can expect the order — a delivery estimate, or when a pickup order is ready — as the store wrote it. Null when the store has not given one.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.estimate.oneOf.0","typeLabel":"string"},{"type":"null","example":"Next business day","description":"When the shopper can expect the order — a delivery estimate, or when a pickup order is ready — as the store wrote it. Null when the store has not given one.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.estimate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.estimate","typeLabel":"string | null"},"available":{"type":"boolean","example":true,"description":"False when the option exists but does not apply to this basket — a pickup location whose `minimum_order` is above `order_total`. An unavailable option cannot be ordered with.","isRequired":true,"uniqueKey":"cheapest_option.oneOf.0.available","typeLabel":"boolean"},"min_days":{"oneOf":[{"type":"integer","example":2,"description":"The fewest delivery days, counted on the store's delivery weekdays after dispatch. Absent when the store has set no delivery days for this option.","uniqueKey":"cheapest_option.oneOf.0.min_days.oneOf.0","typeLabel":"integer"},{"type":"null","example":2,"description":"The fewest delivery days, counted on the store's delivery weekdays after dispatch. Absent when the store has set no delivery days for this option.","uniqueKey":"cheapest_option.oneOf.0.min_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"cheapest_option.oneOf.0.min_days","typeLabel":"integer | null"},"max_days":{"oneOf":[{"type":"integer","example":4,"description":"The most delivery days; equal to `min_days` when the store gave one number.","uniqueKey":"cheapest_option.oneOf.0.max_days.oneOf.0","typeLabel":"integer"},{"type":"null","example":4,"description":"The most delivery days; equal to `min_days` when the store gave one number.","uniqueKey":"cheapest_option.oneOf.0.max_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"cheapest_option.oneOf.0.max_days","typeLabel":"integer | null"},"delivery_window":{"oneOf":[{"type":"object","description":"The calendar dates the order is expected to arrive, computed for now in the store's timezone (`delivery.timezone`): dispatch is today when today is a delivery weekday and the store's cutoff has not passed, otherwise the next delivery weekday. Public holidays are not considered. Absent when the option has no delivery days.","properties":{"from":{"type":"string","format":"date","example":"2026-10-30","uniqueKey":"cheapest_option.oneOf.0.delivery_window.oneOf.0.from","typeLabel":"string\u003cdate>"},"to":{"type":"string","format":"date","example":"2026-11-03","uniqueKey":"cheapest_option.oneOf.0.delivery_window.oneOf.0.to","typeLabel":"string\u003cdate>"},"dispatch_date":{"type":"string","format":"date","example":"2026-10-29","uniqueKey":"cheapest_option.oneOf.0.delivery_window.oneOf.0.dispatch_date","typeLabel":"string\u003cdate>"}},"uniqueKey":"cheapest_option.oneOf.0.delivery_window.oneOf.0","typeLabel":"object"},{"type":"null","description":"The calendar dates the order is expected to arrive, computed for now in the store's timezone (`delivery.timezone`): dispatch is today when today is a delivery weekday and the store's cutoff has not passed, otherwise the next delivery weekday. Public holidays are not considered. Absent when the option has no delivery days.","properties":{"from":{"type":"string","format":"date","example":"2026-10-30"},"to":{"type":"string","format":"date","example":"2026-11-03"},"dispatch_date":{"type":"string","format":"date","example":"2026-10-29"}},"uniqueKey":"cheapest_option.oneOf.0.delivery_window.oneOf.1","typeLabel":"null"}],"uniqueKey":"cheapest_option.oneOf.0.delivery_window","typeLabel":"object | null"},"free_threshold":{"oneOf":[{"type":"number","format":"float","example":75,"description":"The order total from which this option is free. Absent when it has none.","uniqueKey":"cheapest_option.oneOf.0.free_threshold.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","example":75,"description":"The order total from which this option is free. Absent when it has none.","uniqueKey":"cheapest_option.oneOf.0.free_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"cheapest_option.oneOf.0.free_threshold","typeLabel":"number\u003cfloat> | null"},"minimum_order":{"oneOf":[{"type":"number","format":"float","example":25,"description":"For a pickup option, the smallest order total it accepts. Absent when there is none.","uniqueKey":"cheapest_option.oneOf.0.minimum_order.oneOf.0","typeLabel":"number\u003cfloat>"},{"type":"null","format":"float","example":25,"description":"For a pickup option, the smallest order total it accepts. Absent when there is none.","uniqueKey":"cheapest_option.oneOf.0.minimum_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"cheapest_option.oneOf.0.minimum_order","typeLabel":"number\u003cfloat> | null"},"location":{"type":"object","description":"For a pickup option, the location to collect from. Fields the store has not filled in are omitted.","properties":{"id":{"type":"string","format":"uuid","example":"3d5c7a10-8b2e-4f61-9c4d-1a2b3c4d5e6f","uniqueKey":"cheapest_option.oneOf.0.location.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Brooklyn store","uniqueKey":"cheapest_option.oneOf.0.location.name","typeLabel":"string"},"address":{"type":"object","properties":{"line1":{"type":"string","example":"145 Atlantic Avenue","uniqueKey":"cheapest_option.oneOf.0.location.address.line1","typeLabel":"string"},"line2":{"type":"string","uniqueKey":"cheapest_option.oneOf.0.location.address.line2","typeLabel":"string"},"city":{"type":"string","example":"Brooklyn","uniqueKey":"cheapest_option.oneOf.0.location.address.city","typeLabel":"string"},"state":{"type":"string","example":"NY","uniqueKey":"cheapest_option.oneOf.0.location.address.state","typeLabel":"string"},"postal_code":{"type":"string","example":"11201","uniqueKey":"cheapest_option.oneOf.0.location.address.postal_code","typeLabel":"string"},"country":{"type":"string","example":"US","uniqueKey":"cheapest_option.oneOf.0.location.address.country","typeLabel":"string"}},"uniqueKey":"cheapest_option.oneOf.0.location.address","typeLabel":"object"},"latitude":{"type":"number","format":"double","example":40.6907,"uniqueKey":"cheapest_option.oneOf.0.location.latitude","typeLabel":"number\u003cdouble>"},"longitude":{"type":"number","format":"double","example":-73.9956,"uniqueKey":"cheapest_option.oneOf.0.location.longitude","typeLabel":"number\u003cdouble>"},"hours":{"type":"string","example":"Mon–Sat 10:00–19:00","uniqueKey":"cheapest_option.oneOf.0.location.hours","typeLabel":"string"},"instructions":{"type":"string","example":"Collect from the counter at the back of the store.","uniqueKey":"cheapest_option.oneOf.0.location.instructions","typeLabel":"string"},"distance_meters":{"type":"number","format":"float","example":3412.57,"description":"Distance from the shopper's location, when the location was sent.","uniqueKey":"cheapest_option.oneOf.0.location.distance_meters","typeLabel":"number\u003cfloat>"}},"uniqueKey":"cheapest_option.oneOf.0.location","typeLabel":"object"}},"uniqueKey":"cheapest_option.oneOf.0","typeLabel":"object"},{"type":"null","description":"The lowest-fee available entry of `options` (the delivery options; the pickup options when there is no delivery), in the shape of a `ShippingOption`. Null when nothing is available, and null when the request named only a country and the store's rules are map zones and distance rates (a price would be a guess); show no delivery price then. Use it for \"Delivery from £3.95\" on a product page.","uniqueKey":"cheapest_option.oneOf.1","typeLabel":"null"}],"uniqueKey":"cheapest_option","typeLabel":"object | null"},"delivery":{"oneOf":[{"type":"object","description":"The store's delivery-day settings, for rendering `delivery_window` dates. Absent on a carrier-options-only request.","properties":{"timezone":{"type":"string","example":"Europe/London","description":"IANA timezone the window dates are in.","uniqueKey":"delivery.oneOf.0.timezone","typeLabel":"string"},"dispatch_cutoff":{"oneOf":[{"type":"string","example":"14:00","description":"Store-local time after which an order dispatches the next delivery weekday. Null when the store has none.","uniqueKey":"delivery.oneOf.0.dispatch_cutoff.oneOf.0","typeLabel":"string"},{"type":"null","example":"14:00","description":"Store-local time after which an order dispatches the next delivery weekday. Null when the store has none.","uniqueKey":"delivery.oneOf.0.dispatch_cutoff.oneOf.1","typeLabel":"null"}],"uniqueKey":"delivery.oneOf.0.dispatch_cutoff","typeLabel":"string | null"},"delivery_weekdays":{"type":"array","items":{"type":"integer","minimum":1,"maximum":7,"uniqueKey":"delivery.oneOf.0.delivery_weekdays.items.[INDEX]","typeLabel":"integer"},"example":[1,2,3,4,5],"description":"Weekdays that count as delivery days (1 = Monday ... 7 = Sunday).","uniqueKey":"delivery.oneOf.0.delivery_weekdays","typeLabel":"integer[]"}},"uniqueKey":"delivery.oneOf.0","typeLabel":"object"},{"type":"null","description":"The store's delivery-day settings, for rendering `delivery_window` dates. Absent on a carrier-options-only request.","properties":{"timezone":{"type":"string","example":"Europe/London","description":"IANA timezone the window dates are in."},"dispatch_cutoff":{"oneOf":[{"type":"string","example":"14:00","description":"Store-local time after which an order dispatches the next delivery weekday. Null when the store has none."},{"type":"null","example":"14:00","description":"Store-local time after which an order dispatches the next delivery weekday. Null when the store has none."}]},"delivery_weekdays":{"type":"array","items":{"type":"integer","minimum":1,"maximum":7},"example":[1,2,3,4,5],"description":"Weekdays that count as delivery days (1 = Monday ... 7 = Sunday)."}},"uniqueKey":"delivery.oneOf.1","typeLabel":"null"}],"uniqueKey":"delivery","typeLabel":"object | null"},"fulfilled_from":{"oneOf":[{"type":"object","description":"When the store delivers from whichever of its locations is nearest the shopper, the location this order would leave from; distance tiers are measured from it. Null otherwise.","properties":{"id":{"type":"string","format":"uuid","example":"7b2e9c41-0d3f-4a58-b6e1-2f4a6c8e0b13","uniqueKey":"fulfilled_from.oneOf.0.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Manhattan warehouse","uniqueKey":"fulfilled_from.oneOf.0.name","typeLabel":"string"},"distance_meters":{"type":"number","format":"float","example":5120.4,"uniqueKey":"fulfilled_from.oneOf.0.distance_meters","typeLabel":"number\u003cfloat>"}},"uniqueKey":"fulfilled_from.oneOf.0","typeLabel":"object"},{"type":"null","description":"When the store delivers from whichever of its locations is nearest the shopper, the location this order would leave from; distance tiers are measured from it. Null otherwise.","properties":{"id":{"type":"string","format":"uuid","example":"7b2e9c41-0d3f-4a58-b6e1-2f4a6c8e0b13"},"name":{"type":"string","example":"Manhattan warehouse"},"distance_meters":{"type":"number","format":"float","example":5120.4}},"uniqueKey":"fulfilled_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"fulfilled_from","typeLabel":"object | null"},"rate_source":{"type":"string","enum":["zone","tier","fallback","shippo","carrier","custom","none"],"example":"tier","description":"Which source produced the result — the store's `zone`, distance `tier` or `fallback` rate, a connected carrier account (`shippo`, or `carrier` when `rate_source_format=neutral` is sent or the store's setting is neutral), the store's custom shipping extension (`custom`), or `none`.","uniqueKey":"rate_source","typeLabel":"enum\u003cstring>"},"rates":{"type":"array","description":"Carrier options, present when the store has a carrier account or a custom shipping extension AND a destination address + parcel were sent. Each is a real quote. To order with one, pass its `rate_id` and `source` as `shipping_rate_id` / `shipping_rate_source` on createOrder, where the option is fetched again from its source before it is charged.","items":{"type":"object","properties":{"rate_id":{"type":"string","description":"The carrier option's id, as issued by its source.","uniqueKey":"rates.items.[INDEX].rate_id","typeLabel":"string"},"provider":{"oneOf":[{"type":"string","example":"USPS","uniqueKey":"rates.items.[INDEX].provider.oneOf.0","typeLabel":"string"},{"type":"null","example":"USPS","uniqueKey":"rates.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"rates.items.[INDEX].provider","typeLabel":"string | null"},"service":{"oneOf":[{"type":"string","example":"Ground Advantage","uniqueKey":"rates.items.[INDEX].service.oneOf.0","typeLabel":"string"},{"type":"null","example":"Ground Advantage","uniqueKey":"rates.items.[INDEX].service.oneOf.1","typeLabel":"null"}],"uniqueKey":"rates.items.[INDEX].service","typeLabel":"string | null"},"amount":{"type":"number","format":"float","example":10.43,"uniqueKey":"rates.items.[INDEX].amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","example":"USD","uniqueKey":"rates.items.[INDEX].currency","typeLabel":"string"},"estimated_days":{"oneOf":[{"type":"integer","example":5,"uniqueKey":"rates.items.[INDEX].estimated_days.oneOf.0","typeLabel":"integer"},{"type":"null","example":5,"uniqueKey":"rates.items.[INDEX].estimated_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"rates.items.[INDEX].estimated_days","typeLabel":"integer | null"},"min_days":{"type":"integer","example":5,"description":"Present when `estimated_days` is; equal to it.","uniqueKey":"rates.items.[INDEX].min_days","typeLabel":"integer"},"max_days":{"type":"integer","example":5,"description":"Present when `estimated_days` is; equal to it.","uniqueKey":"rates.items.[INDEX].max_days","typeLabel":"integer"},"delivery_window":{"type":"object","description":"The calendar dates for `estimated_days`, computed the way a store option's window is. Present when `estimated_days` is.","properties":{"from":{"type":"string","format":"date","example":"2026-11-05","uniqueKey":"rates.items.[INDEX].delivery_window.from","typeLabel":"string\u003cdate>"},"to":{"type":"string","format":"date","example":"2026-11-05","uniqueKey":"rates.items.[INDEX].delivery_window.to","typeLabel":"string\u003cdate>"},"dispatch_date":{"type":"string","format":"date","example":"2026-10-29","uniqueKey":"rates.items.[INDEX].delivery_window.dispatch_date","typeLabel":"string\u003cdate>"}},"uniqueKey":"rates.items.[INDEX].delivery_window","typeLabel":"object"},"source":{"type":"string","enum":["shippo","carrier","custom"],"description":"Where the option came from — the store's carrier account, or its custom shipping extension.","uniqueKey":"rates.items.[INDEX].source","typeLabel":"enum\u003cstring>"}},"uniqueKey":"rates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"rates","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"distance_based":{"title":"distance_based","summary":"Distance-based pricing with an express option and pickup (Brooklyn → Local tier $5.99)","value":{"fee":5.99,"currency":"USD","zone_name":null,"tier_name":"Local (within 10 km)","distance_meters":8547.99,"is_free":false,"free_threshold":75,"configured":true,"reason":"Local (within 10 km)","applied_rule":"distance","coordinates":{"latitude":40.6782,"longitude":-73.9442,"country_code":"US","postal_code":"11225"},"rate_source":"tier","deliverable":true,"restriction":"none","options":[{"id":"place","method":"delivery","name":"Standard delivery","fee":5.99,"currency":"USD","is_free":false,"estimate":null,"available":true,"free_threshold":75},{"id":"opt:9a1f3c2e-5b7d-4e8a-a2c4-6d8e0f1a3b5c","method":"delivery","name":"Express","fee":14.99,"currency":"USD","is_free":false,"estimate":"Next business day","min_days":1,"max_days":1,"delivery_window":{"from":"2026-10-30","to":"2026-10-30","dispatch_date":"2026-10-29"},"available":true},{"id":"pickup:3d5c7a10-8b2e-4f61-9c4d-1a2b3c4d5e6f","method":"pickup","name":"Pickup at Brooklyn store","fee":0,"currency":"USD","is_free":true,"estimate":"Ready in 2 hours","available":true,"location":{"id":"3d5c7a10-8b2e-4f61-9c4d-1a2b3c4d5e6f","name":"Brooklyn store","address":{"line1":"145 Atlantic Avenue","city":"Brooklyn","state":"NY","postal_code":"11201","country":"US"},"latitude":40.6907,"longitude":-73.9956,"hours":"Mon–Sat 10:00–19:00","instructions":"Collect from the counter at the back of the store.","distance_meters":3412.57}}],"cheapest_option":{"id":"place","method":"delivery","name":"Standard delivery","fee":5.99,"currency":"USD","is_free":false,"estimate":null,"available":true,"free_threshold":75},"delivery":{"timezone":"America/New_York","dispatch_cutoff":"14:00","delivery_weekdays":[1,2,3,4,5]},"fulfilled_from":null}},"pickup_only":{"title":"pickup_only","summary":"The store does not deliver to the address, but the shopper can collect","value":{"fee":null,"currency":"USD","zone_name":null,"tier_name":null,"distance_meters":null,"is_free":false,"free_threshold":null,"configured":true,"reason":"This address is outside the delivery area","applied_rule":"none","coordinates":{"latitude":41.8781,"longitude":-87.6298},"rate_source":"none","deliverable":false,"restriction":"none","options":[{"id":"pickup:3d5c7a10-8b2e-4f61-9c4d-1a2b3c4d5e6f","method":"pickup","name":"Pickup at Brooklyn store","fee":0,"currency":"USD","is_free":true,"estimate":"Ready in 2 hours","available":true,"location":{"id":"3d5c7a10-8b2e-4f61-9c4d-1a2b3c4d5e6f","name":"Brooklyn store","address":{"line1":"145 Atlantic Avenue","city":"Brooklyn","state":"NY","postal_code":"11201","country":"US"},"latitude":40.6907,"longitude":-73.9956,"hours":"Mon–Sat 10:00–19:00","instructions":"Collect from the counter at the back of the store.","distance_meters":1146320.4}}],"fulfilled_from":null}},"free_delivery":{"title":"free_delivery","summary":"Free delivery (order over the free-shipping threshold)","value":{"fee":0,"currency":"USD","zone_name":null,"tier_name":"Local (within 10 km)","distance_meters":8547.99,"is_free":true,"free_threshold":75,"configured":true,"reason":"Free delivery: the order qualifies","applied_rule":"distance","coordinates":{"latitude":40.6782,"longitude":-73.9442},"rate_source":"tier","deliverable":true,"restriction":"none","options":[{"id":"place","method":"delivery","name":"Standard delivery","fee":0,"currency":"USD","is_free":true,"estimate":null,"available":true,"free_threshold":75}],"fulfilled_from":null}},"everywhere_else":{"title":"everywhere_else","summary":"Outside every zone and tier (the store's \"everywhere else\" rate)","value":{"fee":29.99,"currency":"USD","zone_name":null,"tier_name":null,"distance_meters":3944112.2,"is_free":false,"free_threshold":null,"configured":true,"reason":"Everywhere else","applied_rule":"fallback","coordinates":{"latitude":34.0522,"longitude":-118.2437},"rate_source":"fallback","deliverable":true,"restriction":"none","options":[{"id":"place","method":"delivery","name":"Standard delivery","fee":29.99,"currency":"USD","is_free":false,"estimate":null,"available":true}],"fulfilled_from":null}},"country_only_unpriceable":{"title":"country_only_unpriceable","summary":"A country alone, for a store whose rules are map zones and distance rates only","value":{"fee":null,"currency":"USD","zone_name":null,"tier_name":null,"distance_meters":null,"is_free":false,"free_threshold":null,"configured":true,"reason":"A delivery location is needed to price delivery","applied_rule":"none","coordinates":null,"rate_source":"none","deliverable":true,"restriction":"none","options":[],"cheapest_option":null,"fulfilled_from":null}},"no_rates":{"title":"no_rates","summary":"The store has no delivery rates","value":{"fee":0,"currency":"USD","zone_name":null,"tier_name":null,"distance_meters":null,"is_free":false,"free_threshold":null,"configured":false,"reason":"No delivery charge is set up","applied_rule":"none","coordinates":{"latitude":40.6782,"longitude":-73.9442},"rate_source":"none","deliverable":true,"restriction":"none","options":[{"id":"place","method":"delivery","name":"Delivery","fee":0,"currency":"USD","is_free":false,"estimate":null,"available":true}],"fulfilled_from":null}}},"exampleType":"examples"}},"exampleType":"examples"},"a167c7b0-8fef-4e27-97c2-90ecd48c53b1":{"description":"The request is invalid (`invalid_request`: a location outside -90..90 / -180..180, an `order_total` that is not a number of zero or more, a `country_code` that is not two letters, a `postal_code` longer than 16 characters, `items` that is not an array of at most 500 lines each with a `variant_id` and a positive `quantity`, or no location at all), a `place_name` could not be found (`geocoding_failed`), the store neither delivers to the location nor offers pickup (`shipping_not_deliverable`), or a carrier-options-only request was sent to a store with no carrier connected (`provider_not_configured`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Missing required field","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","additionalProperties":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | object"},"hint":{"type":"string","description":"Additional guidance on how to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"},"available_stock":{"type":"integer","description":"Current stock level (present on insufficient_stock errors).","uniqueKey":"error.available_stock","typeLabel":"integer"},"current_cart_quantity":{"type":"integer","description":"Quantity already in cart (present on insufficient_stock errors).","uniqueKey":"error.current_cart_quantity","typeLabel":"integer"},"limit":{"type":"integer","description":"Rate limit ceiling (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests remaining in the current window (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.remaining","typeLabel":"integer"},"reset":{"type":"integer","description":"Unix timestamp when the rate limit / quota window resets (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.reset","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"not_deliverable":{"title":"not_deliverable","value":{"error":{"code":"shipping_not_deliverable","message":"This store does not deliver to that address."}}},"invalid_total":{"title":"invalid_total","value":{"error":{"code":"invalid_request","message":"order_total must be a number of zero or more."}}}},"exampleType":"examples"}},"exampleType":"examples"},"c0a832d0-7d1a-4b75-8327-0a6a0cfbbcec":{"description":"Authentication failed - invalid or missing API key","headers":{"Tybrite-Environment":{"description":"Confirms which environment your API key resolved to. Use this to verify that test keys\nare hitting sandbox data and live keys are hitting production data.\n\n- `production` — requests are scoped to live data; real orders, customers, and payments\n- `sandbox` — requests are scoped to isolated test data; no real money is moved\n\nPresent on every authenticated response, including error responses.\n","schema":{"type":"string","enum":["production","sandbox"]},"example":"sandbox"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Missing required field","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","additionalProperties":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | object"},"hint":{"type":"string","description":"Additional guidance on how to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"},"available_stock":{"type":"integer","description":"Current stock level (present on insufficient_stock errors).","uniqueKey":"error.available_stock","typeLabel":"integer"},"current_cart_quantity":{"type":"integer","description":"Quantity already in cart (present on insufficient_stock errors).","uniqueKey":"error.current_cart_quantity","typeLabel":"integer"},"limit":{"type":"integer","description":"Rate limit ceiling (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests remaining in the current window (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.remaining","typeLabel":"integer"},"reset":{"type":"integer","description":"Unix timestamp when the rate limit / quota window resets (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.reset","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"unauthorized","message":"Missing or invalid Authorization header"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"Missing or invalid Authorization header"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0ba55f57-4bfc-4d23-9fb3-9ec73c38d69c":{"description":"The store's subscription is not active, or the store is deactivated. Every API-keyed request for that store answers `402` with `subscription_expired` until the subscription is renewed.","headers":{"Tybrite-Environment":{"description":"Confirms which environment your API key resolved to. Use this to verify that test keys\nare hitting sandbox data and live keys are hitting production data.\n\n- `production` — requests are scoped to live data; real orders, customers, and payments\n- `sandbox` — requests are scoped to isolated test data; no real money is moved\n\nPresent on every authenticated response, including error responses.\n","schema":{"type":"string","enum":["production","sandbox"]},"example":"sandbox"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Missing required field","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","additionalProperties":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | object"},"hint":{"type":"string","description":"Additional guidance on how to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"},"available_stock":{"type":"integer","description":"Current stock level (present on insufficient_stock errors).","uniqueKey":"error.available_stock","typeLabel":"integer"},"current_cart_quantity":{"type":"integer","description":"Quantity already in cart (present on insufficient_stock errors).","uniqueKey":"error.current_cart_quantity","typeLabel":"integer"},"limit":{"type":"integer","description":"Rate limit ceiling (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests remaining in the current window (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.remaining","typeLabel":"integer"},"reset":{"type":"integer","description":"Unix timestamp when the rate limit / quota window resets (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.reset","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"subscription_expired","message":"This store's subscription is not active"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"subscription_expired","message":"This store's subscription is not active"}}}},"exampleType":"examples"}},"exampleType":"examples"},"c4b26b59-c3e7-41fa-b944-625e88cbed31":{"description":"Insufficient permissions for this key. A GC Connect key that was not granted the operation's scope (for example `agent:read` or `orders:write`) receives `insufficient_scope`, and the message names the scope. A request that needs a secret key (a publishable key on a write, whatever scopes it holds), or a marketplace operator key calling a single-store operation, receives `forbidden`. A store whose plan does not include the feature the route belongs to receives `feature_not_available`, whatever the key. A publishable key limited to the products that carry one tag receives `out_of_scope` for a product, variant, promotion or review outside its slice, and `endpoint_not_allowed` on a route that has no slice behaviour.","headers":{"Tybrite-Environment":{"description":"Confirms which environment your API key resolved to. Use this to verify that test keys\nare hitting sandbox data and live keys are hitting production data.\n\n- `production` — requests are scoped to live data; real orders, customers, and payments\n- `sandbox` — requests are scoped to isolated test data; no real money is moved\n\nPresent on every authenticated response, including error responses.\n","schema":{"type":"string","enum":["production","sandbox"]},"example":"sandbox"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Missing required field","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","additionalProperties":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | object"},"hint":{"type":"string","description":"Additional guidance on how to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"},"available_stock":{"type":"integer","description":"Current stock level (present on insufficient_stock errors).","uniqueKey":"error.available_stock","typeLabel":"integer"},"current_cart_quantity":{"type":"integer","description":"Quantity already in cart (present on insufficient_stock errors).","uniqueKey":"error.current_cart_quantity","typeLabel":"integer"},"limit":{"type":"integer","description":"Rate limit ceiling (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests remaining in the current window (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.remaining","typeLabel":"integer"},"reset":{"type":"integer","description":"Unix timestamp when the rate limit / quota window resets (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.reset","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"insufficient_scope":{"title":"insufficient_scope","summary":"Connect key without the operation's scope","value":{"error":{"code":"insufficient_scope","message":"This connected app was not granted the 'agent:read' scope."}}},"forbidden":{"title":"forbidden","summary":"Secret key required","value":{"error":{"code":"forbidden","message":"This operation requires a secret key. Publishable keys cover catalogue reads and the actions a shopper takes for themselves."}}},"feature_not_available":{"title":"feature_not_available","summary":"The store's plan does not include the feature","value":{"error":{"code":"feature_not_available","message":"Smart Search is not available for this store."}}},"out_of_scope":{"title":"out_of_scope","summary":"A publishable key limited to one tag named a product outside its slice","value":{"error":{"code":"out_of_scope","message":"This key is limited to part of the catalogue and this product is outside it."}}}},"exampleType":"examples"}},"exampleType":"examples"},"4cbb6436-1e70-46d8-b16e-f27b43e97ed5":{"description":"Too many requests. Three distinct `429` codes: `rate_limited` (an abuse throttle — too many requests too fast; carries an `X-RateLimit-Scope: abuse` header and is NOT counted against your monthly quota), `guest_limit_reached` (the same per-address throttle, answered to a guest, a request with no shopper credential, whose per-address hourly budget at this store is lower than a signed-in shopper's) and `quota_exceeded` (your plan's monthly request allowance is reached).\n`guest_limit_reached` carries `details`: `scope` is `guest`, `bucket` is `browse`, `limit` is the guest budget, `window_seconds` is `3600`, `remaining` is `0`, `reset` and `retry_after` say when the hour ends, `signed_in_limit` is the signed-in shopper's budget and `sign_in_raises_limit` is `true`. A storefront shows its sign-in prompt for this code. A signed-in shopper, and a guest whose budget is not lower than the signed-in one, get `rate_limited`.\nOn a throttle refusal (`rate_limited`, `guest_limit_reached`) `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` describe the window that refused the request (the hour, the day or the per-address hour) and `Retry-After` is the time until it ends. On `quota_exceeded` they describe the monthly allowance.","headers":{"Tybrite-Environment":{"description":"Confirms which environment your API key resolved to. Use this to verify that test keys\nare hitting sandbox data and live keys are hitting production data.\n\n- `production` — requests are scoped to live data; real orders, customers, and payments\n- `sandbox` — requests are scoped to isolated test data; no real money is moved\n\nPresent on every authenticated response, including error responses.\n","schema":{"type":"string","enum":["production","sandbox"]},"example":"sandbox"},"Retry-After":{"description":"Seconds until the limit that refused the request resets. Sent with `rate_limited`, `guest_limit_reached` and `quota_exceeded` (for the latter, the seconds until the monthly reset). Not sent when no reset time is known.","schema":{"type":"integer"},"example":540}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Missing required field","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","additionalProperties":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | object"},"hint":{"type":"string","description":"Additional guidance on how to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"},"available_stock":{"type":"integer","description":"Current stock level (present on insufficient_stock errors).","uniqueKey":"error.available_stock","typeLabel":"integer"},"current_cart_quantity":{"type":"integer","description":"Quantity already in cart (present on insufficient_stock errors).","uniqueKey":"error.current_cart_quantity","typeLabel":"integer"},"limit":{"type":"integer","description":"Rate limit ceiling (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests remaining in the current window (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.remaining","typeLabel":"integer"},"reset":{"type":"integer","description":"Unix timestamp when the rate limit / quota window resets (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.reset","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rate_limited":{"title":"rate_limited","summary":"An abuse throttle","value":{"error":{"code":"rate_limited","message":"Too many requests for this API key. Please slow down and try again shortly.","remaining":0,"reset":1706198400}}},"guest_limit_reached":{"title":"guest_limit_reached","summary":"A guest reached a per-address budget that signing in raises","value":{"error":{"code":"guest_limit_reached","message":"Sign in to keep going — signed-in shoppers get more.","details":{"scope":"guest","bucket":"browse","limit":500,"window_seconds":3600,"remaining":0,"reset":1706198400,"retry_after":540,"signed_in_limit":2000,"sign_in_raises_limit":true}}}}},"exampleType":"examples"}},"exampleType":"examples"},"3fa9daea-28c6-46b2-afa5-9ea5382273ee":{"description":"Internal server error. A 5xx response never carries `details`.","headers":{"Tybrite-Environment":{"description":"Confirms which environment your API key resolved to. Use this to verify that test keys\nare hitting sandbox data and live keys are hitting production data.\n\n- `production` — requests are scoped to live data; real orders, customers, and payments\n- `sandbox` — requests are scoped to isolated test data; no real money is moved\n\nPresent on every authenticated response, including error responses.\n","schema":{"type":"string","enum":["production","sandbox"]},"example":"sandbox"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Missing required field","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Further detail about the error: a sentence, or for some errors an object (for example the `missing` list of `billing_location_required` or the `item_index` and `field_name` of `line_field_required`).","example":"The 'email' field is required","additionalProperties":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | object"},"hint":{"type":"string","description":"Additional guidance on how to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"},"available_stock":{"type":"integer","description":"Current stock level (present on insufficient_stock errors).","uniqueKey":"error.available_stock","typeLabel":"integer"},"current_cart_quantity":{"type":"integer","description":"Quantity already in cart (present on insufficient_stock errors).","uniqueKey":"error.current_cart_quantity","typeLabel":"integer"},"limit":{"type":"integer","description":"Rate limit ceiling (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"Requests remaining in the current window (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.remaining","typeLabel":"integer"},"reset":{"type":"integer","description":"Unix timestamp when the rate limit / quota window resets (present on rate_limited / quota_exceeded errors).","uniqueKey":"error.reset","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"server_error","message":"An unexpected error occurred"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"server_error","message":"An unexpected error occurred"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"7e9d8315-5d23-4a73-9b4a-8f57d11f2e11":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"**API Key Authentication**\n \nUse your API key in the Authorization header:\n```\nAuthorization: Bearer tybrite_sk_live_YOUR_KEY\n```\n \n**Key Types:**\n \n**Secret Keys (Server-Side Only):**\n- Format: `tybrite_sk_live_*` (production) or `tybrite_sk_test_*` (sandbox)\n- Full read/write access to all endpoints\n- ⚠️ NEVER expose in client-side code or public repositories\n- Required for: every write a shopper does not make for themselves, authentication, payment verification, AI recommendations\n \n**Publishable Keys (Client-Safe):**\n- Format: `tybrite_pk_live_*` (production) or `tybrite_pk_test_*` (sandbox)\n- Catalogue reads, plus the actions a shopper takes for themselves\n- ✅ Safe for client-side JavaScript, mobile apps, and public code\n- Allowed for: browsing products, search, CMS content, pricing queries, cart and wishlist,\n reviews, storefront events, and the Agent API's quotes, cart drafts and checkout intents\n \n**Endpoint-Specific Requirements:**\n- **Authentication endpoints** (`/v1/auth/*`): state-changing `POST` calls require a secret key, for store and marketplace keys alike; `GET /v1/auth/me` accepts either key\n- **Payment verification** (`POST /v1/payments/verify`): Secret key required\n- **AI Recommendations** (`POST /v1/recommendations`): Secret key required\n- **Semantic Search** (`POST /v1/search`): Both key types allowed (read-only operation)\n- **Shopper actions** (cart, wishlist, reviews, storefront events, Agent API quotes, cart drafts and checkout intents): Both key types allowed\n- **All other write operations**: Secret key required\n- **All read operations**: Both key types allowed\n \nUsing a publishable key for restricted operations returns 403 Forbidden.\n\n**Limited publishable keys:**\nA publishable key can be limited to the products that carry one tag (for example `starter:jewellery`), created from\nthe store's Developers page. The limit applies to the key, never to the shopper: shopper sign-up and sign-in stay store-wide.\n- Reads return only the slice: products (with their facets, filters, search, brands and specifications), categories and\n subcategories that hold in-slice products, collections, promotions, posts and lookbooks that carry the tag, reviews of\n in-slice products, prices, discovery lists and the store information summary, with every count computed on the slice.\n A product outside the slice answers `404`, as if it did not exist.\n- A write that names a product or variant outside the slice (adding to the cart or wishlist, reserving stock, an order line,\n a review, a promotion calculation, a storefront event) answers `403` with the error code `out_of_scope`, and nothing is\n written or reserved. An order is refused as a whole.\n- A route that carries no slice behaviour is not available to the key: it answers `403` with `endpoint_not_allowed`.\n- Orders placed through such a key record the tag on the order's attribution as `key_scope`.\n- Secret keys and connected-app keys cannot be limited.\n- Responses are cached per key limit: a limited key never receives a response cached for the whole store, and the reverse.\n","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"23497b63-1a0b-4f70-a5d0-9eec416be49d":{"url":"https://api.tybritelabs.com","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"**API Key Authentication**\n \nUse your API key in the Authorization header:\n```\nAuthorization: Bearer tybrite_sk_live_YOUR_KEY\n```\n \n**Key Types:**\n \n**Secret Keys (Server-Side Only):**\n- Format: `tybrite_sk_live_*` (production) or `tybrite_sk_test_*` (sandbox)\n- Full read/write access to all endpoints\n- ⚠️ NEVER expose in client-side code or public repositories\n- Required for: every write a shopper does not make for themselves, authentication, payment verification, AI recommendations\n \n**Publishable Keys (Client-Safe):**\n- Format: `tybrite_pk_live_*` (production) or `tybrite_pk_test_*` (sandbox)\n- Catalogue reads, plus the actions a shopper takes for themselves\n- ✅ Safe for client-side JavaScript, mobile apps, and public code\n- Allowed for: browsing products, search, CMS content, pricing queries, cart and wishlist,\n reviews, storefront events, and the Agent API's quotes, cart drafts and checkout intents\n \n**Endpoint-Specific Requirements:**\n- **Authentication endpoints** (`/v1/auth/*`): state-changing `POST` calls require a secret key, for store and marketplace keys alike; `GET /v1/auth/me` accepts either key\n- **Payment verification** (`POST /v1/payments/verify`): Secret key required\n- **AI Recommendations** (`POST /v1/recommendations`): Secret key required\n- **Semantic Search** (`POST /v1/search`): Both key types allowed (read-only operation)\n- **Shopper actions** (cart, wishlist, reviews, storefront events, Agent API quotes, cart drafts and checkout intents): Both key types allowed\n- **All other write operations**: Secret key required\n- **All read operations**: Both key types allowed\n \nUsing a publishable key for restricted operations returns 403 Forbidden.\n\n**Limited publishable keys:**\nA publishable key can be limited to the products that carry one tag (for example `starter:jewellery`), created from\nthe store's Developers page. The limit applies to the key, never to the shopper: shopper sign-up and sign-in stay store-wide.\n- Reads return only the slice: products (with their facets, filters, search, brands and specifications), categories and\n subcategories that hold in-slice products, collections, promotions, posts and lookbooks that carry the tag, reviews of\n in-slice products, prices, discovery lists and the store information summary, with every count computed on the slice.\n A product outside the slice answers `404`, as if it did not exist.\n- A write that names a product or variant outside the slice (adding to the cart or wishlist, reserving stock, an order line,\n a review, a promotion calculation, a storefront event) answers `403` with the error code `out_of_scope`, and nothing is\n written or reserved. An order is refused as a whole.\n- A route that carries no slice behaviour is not available to the key: it answers `403` with `endpoint_not_allowed`.\n- Orders placed through such a key record the tag on the order's attribution as `key_scope`.\n- Secret keys and connected-app keys cannot be limited.\n- Responses are cached per key limit: a limited key never receives a response cached for the whole store, and the reverse.\n","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"**API Key Authentication**\n \nUse your API key in the Authorization header:\n```\nAuthorization: Bearer tybrite_sk_live_YOUR_KEY\n```\n \n**Key Types:**\n \n**Secret Keys (Server-Side Only):**\n- Format: `tybrite_sk_live_*` (production) or `tybrite_sk_test_*` (sandbox)\n- Full read/write access to all endpoints\n- ⚠️ NEVER expose in client-side code or public repositories\n- Required for: every write a shopper does not make for themselves, authentication, payment verification, AI recommendations\n \n**Publishable Keys (Client-Safe):**\n- Format: `tybrite_pk_live_*` (production) or `tybrite_pk_test_*` (sandbox)\n- Catalogue reads, plus the actions a shopper takes for themselves\n- ✅ Safe for client-side JavaScript, mobile apps, and public code\n- Allowed for: browsing products, search, CMS content, pricing queries, cart and wishlist,\n reviews, storefront events, and the Agent API's quotes, cart drafts and checkout intents\n \n**Endpoint-Specific Requirements:**\n- **Authentication endpoints** (`/v1/auth/*`): state-changing `POST` calls require a secret key, for store and marketplace keys alike; `GET /v1/auth/me` accepts either key\n- **Payment verification** (`POST /v1/payments/verify`): Secret key required\n- **AI Recommendations** (`POST /v1/recommendations`): Secret key required\n- **Semantic Search** (`POST /v1/search`): Both key types allowed (read-only operation)\n- **Shopper actions** (cart, wishlist, reviews, storefront events, Agent API quotes, cart drafts and checkout intents): Both key types allowed\n- **All other write operations**: Secret key required\n- **All read operations**: Both key types allowed\n \nUsing a publishable key for restricted operations returns 403 Forbidden.\n\n**Limited publishable keys:**\nA publishable key can be limited to the products that carry one tag (for example `starter:jewellery`), created from\nthe store's Developers page. The limit applies to the key, never to the shopper: shopper sign-up and sign-in stay store-wide.\n- Reads return only the slice: products (with their facets, filters, search, brands and specifications), categories and\n subcategories that hold in-slice products, collections, promotions, posts and lookbooks that carry the tag, reviews of\n in-slice products, prices, discovery lists and the store information summary, with every count computed on the slice.\n A product outside the slice answers `404`, as if it did not exist.\n- A write that names a product or variant outside the slice (adding to the cart or wishlist, reserving stock, an order line,\n a review, a promotion calculation, a storefront event) answers `403` with the error code `out_of_scope`, and nothing is\n written or reserved. An order is refused as a whole.\n- A route that carries no slice behaviour is not available to the key: it answers `403` with `endpoint_not_allowed`.\n- Orders placed through such a key record the tag on the order's attribution as `key_scope`.\n- Secret keys and connected-app keys cannot be limited.\n- Responses are cached per key limit: a limited key never receives a response cached for the whole store, and the reverse.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"tybritelabs","siteName":"Galactic Core API Documentation","title":"Calculate shipping fee - Galactic Core API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T23:48:20.282Z","originalFileLocation":"api-reference/shipping/calculate-shipping-fee.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The ways a shopper can receive an order — the store\u0026#x27;s delivery options and pickup locations — priced for their location and basket, plus carrier options when a destination address and parcel are sent. Location: latitude + longitude, or a place_name (geocoded). country_code and postal_code may accompany either; they match zones defined by country and postcode, and a value sent here takes precedence over the one found by geocoding. A country_code alone (optionally with postal_code) is also a location: it prices zones that cover the country and the store\u0026#x27;s \u0026quot;everywhere else\u0026quot; rate without geocoding, which is enough for \u0026quot;Delivery to the United Kingdom from £3.95\u0026quot; on a product page. Zones drawn on a map and distance rates need coordinates and are skipped. When the store has no zone that a country can match (its rules are map zones and distance rates only), a country alone cannot be priced: the answer is 200 with configured: true, fee: null, cheapest_option: null and options holding only the pickup locations, and no \u0026quot;everywhere else\u0026quot; price is given. Show no delivery price in that case; send coordinates to price it. With no location at all, address_to + parcel returns carrier options only, with fee null. Basket: order_total is the merchandise after discounts, before tax and shipping; free-delivery thresholds and minimum orders are measured against it. items lists the basket\u0026#x27;s variants and quantities. It is optional, and is what lets the store apply rates that depend on the parcel\u0026#x27;s weight and rules it sets for particular product categories — a surcharge, delivery only to nearby addresses (restriction: local_only), or collection only (restriction: pickup_only). Pricing: the first zone containing the location — a zone drawn on a map, or a zone covering whole countries or postcode prefixes; otherwise the distance tier matching its distance from the store (a range includes its start and stops just before its end); otherwise the store\u0026#x27;s \u0026quot;everywhere else\u0026quot; rate. A matched rate is free when order_total reaches its free-delivery threshold. A store with no rates at all charges nothing (applied_rule: none) and answers configured: false with is_free: false: it has set up no delivery charges through us, so a storefront shows no delivery price and no free-delivery message. configured: false never means free delivery. Delivery dates: an option carries min_days and max_days (delivery days after dispatch) and a delivery_window of calendar dates, when the store has set delivery days. Dates are computed once, here, in the store\u0026#x27;s timezone (delivery.timezone): an order placed before the store\u0026#x27;s dispatch cutoff (delivery.dispatch_cutoff) on a delivery weekday dispatches that day, otherwise on the next delivery weekday, and days are counted on the store\u0026#x27;s delivery weekdays. Public holidays are not considered. A carrier option (rates[]) with only estimated_days carries min_days = max_days = that value and the same computed window. cheapest_option is the lowest-fee available option. Options: options[] lists everything the shopper can choose between. The first delivery option, id: place, is the matched rate itself (\u0026quot;Standard delivery\u0026quot;); its fee is also returned as fee. The store may add named options to the same rate — Express, Next day — with ids of the form opt:, each with its own fee and estimate. Pickup options (method: pickup, ids of the form pickup:) follow, nearest first when the location is known. An option with available: false exists but does not apply to this basket yet, usually because order_total is below its minimum_order. To order with an option, pass its id as shipping_option_id on POST /v1/orders. No delivery to the address: when the store does not deliver there but does offer pickup, the response is 200 with deliverable: false, fee: null and only the pickup options. When it offers neither, the answer is 400 shipping_not_deliverable. Multiple locations: when the store delivers from whichever of its locations is nearest the shopper, fulfilled_from names that location, and distance tiers are measured from it. Carrier options (rates[]) come from the store\u0026#x27;s connected carrier account and its custom shipping extension. To order with one, pass its rate_id and source on POST /v1/orders as shipping_rate_id and shipping_rate_source. This is a read-only operation (safe for publishable keys).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Galactic Core API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Calculate shipping fee - Galactic Core API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"The ways a shopper can receive an order — the store\u0026#x27;s delivery options and pickup locations — priced for their location and basket, plus carrier options when a destination address and parcel are sent. Location: latitude + longitude, or a place_name (geocoded). country_code and postal_code may accompany either; they match zones defined by country and postcode, and a value sent here takes precedence over the one found by geocoding. A country_code alone (optionally with postal_code) is also a location: it prices zones that cover the country and the store\u0026#x27;s \u0026quot;everywhere else\u0026quot; rate without geocoding, which is enough for \u0026quot;Delivery to the United Kingdom from £3.95\u0026quot; on a product page. Zones drawn on a map and distance rates need coordinates and are skipped. When the store has no zone that a country can match (its rules are map zones and distance rates only), a country alone cannot be priced: the answer is 200 with configured: true, fee: null, cheapest_option: null and options holding only the pickup locations, and no \u0026quot;everywhere else\u0026quot; price is given. Show no delivery price in that case; send coordinates to price it. With no location at all, address_to + parcel returns carrier options only, with fee null. Basket: order_total is the merchandise after discounts, before tax and shipping; free-delivery thresholds and minimum orders are measured against it. items lists the basket\u0026#x27;s variants and quantities. It is optional, and is what lets the store apply rates that depend on the parcel\u0026#x27;s weight and rules it sets for particular product categories — a surcharge, delivery only to nearby addresses (restriction: local_only), or collection only (restriction: pickup_only). Pricing: the first zone containing the location — a zone drawn on a map, or a zone covering whole countries or postcode prefixes; otherwise the distance tier matching its distance from the store (a range includes its start and stops just before its end); otherwise the store\u0026#x27;s \u0026quot;everywhere else\u0026quot; rate. A matched rate is free when order_total reaches its free-delivery threshold. A store with no rates at all charges nothing (applied_rule: none) and answers configured: false with is_free: false: it has set up no delivery charges through us, so a storefront shows no delivery price and no free-delivery message. configured: false never means free delivery. Delivery dates: an option carries min_days and max_days (delivery days after dispatch) and a delivery_window of calendar dates, when the store has set delivery days. Dates are computed once, here, in the store\u0026#x27;s timezone (delivery.timezone): an order placed before the store\u0026#x27;s dispatch cutoff (delivery.dispatch_cutoff) on a delivery weekday dispatches that day, otherwise on the next delivery weekday, and days are counted on the store\u0026#x27;s delivery weekdays. Public holidays are not considered. A carrier option (rates[]) with only estimated_days carries min_days = max_days = that value and the same computed window. cheapest_option is the lowest-fee available option. Options: options[] lists everything the shopper can choose between. The first delivery option, id: place, is the matched rate itself (\u0026quot;Standard delivery\u0026quot;); its fee is also returned as fee. The store may add named options to the same rate — Express, Next day — with ids of the form opt:, each with its own fee and estimate. Pickup options (method: pickup, ids of the form pickup:) follow, nearest first when the location is known. An option with available: false exists but does not apply to this basket yet, usually because order_total is below its minimum_order. To order with an option, pass its id as shipping_option_id on POST /v1/orders. No delivery to the address: when the store does not deliver there but does offer pickup, the response is 200 with deliverable: false, fee: null and only the pickup options. When it offers neither, the answer is 400 shipping_not_deliverable. Multiple locations: when the store delivers from whichever of its locations is nearest the shopper, fulfilled_from names that location, and distance tiers are measured from it. Carrier options (rates[]) come from the store\u0026#x27;s connected carrier account and its custom shipping extension. To order with one, pass its rate_id and source on POST /v1/orders as shipping_rate_id and shipping_rate_source. This is a read-only operation (safe for publishable keys).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Galactic Core API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tybritelabs.mintlify.site/_mintlify/api/og/v2?division=Shipping\u0026amp;title=Calculate+shipping+fee\u0026amp;description=The+ways+a+shopper+can+receive+an+order+%E2%80%94+the+store%27s+delivery+options+and+pickup+locations+%E2%80%94%0Apriced+for+their+location+and+basket%2C+plus+carrier+options+when+a+\u0026amp;theme=e2a958a3415fbc57a167c80a\u0026amp;signature=c0de6a46f53911a363a9a324e41d94e7fa4892d9059cef7376145f6b52e7702b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Calculate shipping fee - Galactic Core API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The ways a shopper can receive an order — the store\u0026#x27;s delivery options and pickup locations — priced for their location and basket, plus carrier options when a destination address and parcel are sent. Location: latitude + longitude, or a place_name (geocoded). country_code and postal_code may accompany either; they match zones defined by country and postcode, and a value sent here takes precedence over the one found by geocoding. A country_code alone (optionally with postal_code) is also a location: it prices zones that cover the country and the store\u0026#x27;s \u0026quot;everywhere else\u0026quot; rate without geocoding, which is enough for \u0026quot;Delivery to the United Kingdom from £3.95\u0026quot; on a product page. Zones drawn on a map and distance rates need coordinates and are skipped. When the store has no zone that a country can match (its rules are map zones and distance rates only), a country alone cannot be priced: the answer is 200 with configured: true, fee: null, cheapest_option: null and options holding only the pickup locations, and no \u0026quot;everywhere else\u0026quot; price is given. Show no delivery price in that case; send coordinates to price it. With no location at all, address_to + parcel returns carrier options only, with fee null. Basket: order_total is the merchandise after discounts, before tax and shipping; free-delivery thresholds and minimum orders are measured against it. items lists the basket\u0026#x27;s variants and quantities. It is optional, and is what lets the store apply rates that depend on the parcel\u0026#x27;s weight and rules it sets for particular product categories — a surcharge, delivery only to nearby addresses (restriction: local_only), or collection only (restriction: pickup_only). Pricing: the first zone containing the location — a zone drawn on a map, or a zone covering whole countries or postcode prefixes; otherwise the distance tier matching its distance from the store (a range includes its start and stops just before its end); otherwise the store\u0026#x27;s \u0026quot;everywhere else\u0026quot; rate. A matched rate is free when order_total reaches its free-delivery threshold. A store with no rates at all charges nothing (applied_rule: none) and answers configured: false with is_free: false: it has set up no delivery charges through us, so a storefront shows no delivery price and no free-delivery message. configured: false never means free delivery. Delivery dates: an option carries min_days and max_days (delivery days after dispatch) and a delivery_window of calendar dates, when the store has set delivery days. Dates are computed once, here, in the store\u0026#x27;s timezone (delivery.timezone): an order placed before the store\u0026#x27;s dispatch cutoff (delivery.dispatch_cutoff) on a delivery weekday dispatches that day, otherwise on the next delivery weekday, and days are counted on the store\u0026#x27;s delivery weekdays. Public holidays are not considered. A carrier option (rates[]) with only estimated_days carries min_days = max_days = that value and the same computed window. cheapest_option is the lowest-fee available option. Options: options[] lists everything the shopper can choose between. The first delivery option, id: place, is the matched rate itself (\u0026quot;Standard delivery\u0026quot;); its fee is also returned as fee. The store may add named options to the same rate — Express, Next day — with ids of the form opt:, each with its own fee and estimate. Pickup options (method: pickup, ids of the form pickup:) follow, nearest first when the location is known. An option with available: false exists but does not apply to this basket yet, usually because order_total is below its minimum_order. To order with an option, pass its id as shipping_option_id on POST /v1/orders. No delivery to the address: when the store does not deliver there but does offer pickup, the response is 200 with deliverable: false, fee: null and only the pickup options. When it offers neither, the answer is 400 shipping_not_deliverable. Multiple locations: when the store delivers from whichever of its locations is nearest the shopper, fulfilled_from names that location, and distance tiers are measured from it. Carrier options (rates[]) come from the store\u0026#x27;s connected carrier account and its custom shipping extension. To order with one, pass its rate_id and source on POST /v1/orders as shipping_rate_id and shipping_rate_source. This is a read-only operation (safe for publishable keys).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tybritelabs.mintlify.site/_mintlify/api/og/v2?division=Shipping\u0026amp;title=Calculate+shipping+fee\u0026amp;description=The+ways+a+shopper+can+receive+an+order+%E2%80%94+the+store%27s+delivery+options+and+pickup+locations+%E2%80%94%0Apriced+for+their+location+and+basket%2C+plus+carrier+options+when+a+\u0026amp;theme=e2a958a3415fbc57a167c80a\u0026amp;signature=c0de6a46f53911a363a9a324e41d94e7fa4892d9059cef7376145f6b52e7702b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tybritelabs/d0xYWWdjx3Q9ZfW_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Galactic Core API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b82f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/shipping/calculate-shipping-fee.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tybritelabs.com/#organization\",\"name\":\"Galactic Core API Documentation\",\"url\":\"https://docs.tybritelabs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tybritelabs/9cNSmgnBxs-QU_UC/branding/gc-long-blue.png?fit=max\u0026auto=format\u0026n=9cNSmgnBxs-QU_UC\u0026q=85\u0026s=88d64ea989973d874ed73437459487f7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tybritelabs.com#website\",\"name\":\"Galactic Core API Documentation\",\"url\":\"https://docs.tybritelabs.com\",\"publisher\":{\"@id\":\"https://docs.tybritelabs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee#webpage\",\"url\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee\",\"name\":\"Calculate shipping fee\",\"description\":\"The ways a shopper can receive an order — the store's delivery options and pickup locations — priced for their location and basket, plus carrier options when a destination address and parcel are sent. Location: latitude + longitude, or a place_name (geocoded). country_code and postal_code may accompany either; they match zones defined by country and postcode, and a value sent here takes precedence over the one found by geocoding. A country_code alone (optionally with postal_code) is also a location: it prices zones that cover the country and the store's \\\"everywhere else\\\" rate without geocoding, which is enough for \\\"Delivery to the United Kingdom from £3.95\\\" on a product page. Zones drawn on a map and distance rates need coordinates and are skipped. When the store has no zone that a country can match (its rules are map zones and distance rates only), a country alone cannot be priced: the answer is 200 with configured: true, fee: null, cheapest_option: null and options holding only the pickup locations, and no \\\"everywhere else\\\" price is given. Show no delivery price in that case; send coordinates to price it. With no location at all, address_to + parcel returns carrier options only, with fee null. Basket: order_total is the merchandise after discounts, before tax and shipping; free-delivery thresholds and minimum orders are measured against it. items lists the basket's variants and quantities. It is optional, and is what lets the store apply rates that depend on the parcel's weight and rules it sets for particular product categories — a surcharge, delivery only to nearby addresses (restriction: local_only), or collection only (restriction: pickup_only). Pricing: the first zone containing the location — a zone drawn on a map, or a zone covering whole countries or postcode prefixes; otherwise the distance tier matching its distance from the store (a range includes its start and stops just before its end); otherwise the store's \\\"everywhere else\\\" rate. A matched rate is free when order_total reaches its free-delivery threshold. A store with no rates at all charges nothing (applied_rule: none) and answers configured: false with is_free: false: it has set up no delivery charges through us, so a storefront shows no delivery price and no free-delivery message. configured: false never means free delivery. Delivery dates: an option carries min_days and max_days (delivery days after dispatch) and a delivery_window of calendar dates, when the store has set delivery days. Dates are computed once, here, in the store's timezone (delivery.timezone): an order placed before the store's dispatch cutoff (delivery.dispatch_cutoff) on a delivery weekday dispatches that day, otherwise on the next delivery weekday, and days are counted on the store's delivery weekdays. Public holidays are not considered. A carrier option (rates[]) with only estimated_days carries min_days = max_days = that value and the same computed window. cheapest_option is the lowest-fee available option. Options: options[] lists everything the shopper can choose between. The first delivery option, id: place, is the matched rate itself (\\\"Standard delivery\\\"); its fee is also returned as fee. The store may add named options to the same rate — Express, Next day — with ids of the form opt:, each with its own fee and estimate. Pickup options (method: pickup, ids of the form pickup:) follow, nearest first when the location is known. An option with available: false exists but does not apply to this basket yet, usually because order_total is below its minimum_order. To order with an option, pass its id as shipping_option_id on POST /v1/orders. No delivery to the address: when the store does not deliver there but does offer pickup, the response is 200 with deliverable: false, fee: null and only the pickup options. When it offers neither, the answer is 400 shipping_not_deliverable. Multiple locations: when the store delivers from whichever of its locations is nearest the shopper, fulfilled_from names that location, and distance tiers are measured from it. Carrier options (rates[]) come from the store's connected carrier account and its custom shipping extension. To order with one, pass its rate_id and source on POST /v1/orders as shipping_rate_id and shipping_rate_source. This is a read-only operation (safe for publishable keys).\",\"dateModified\":\"2026-11-24T23:48:20.282Z\",\"isPartOf\":{\"@id\":\"https://docs.tybritelabs.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shipping\",\"item\":\"https://docs.tybritelabs.com/api-reference/shipping/get-shipping-zones-and-pricing-tiers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Calculate shipping fee\",\"item\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee#apireference\",\"headline\":\"Calculate shipping fee\",\"name\":\"Calculate shipping fee\",\"description\":\"The ways a shopper can receive an order — the store's delivery options and pickup locations — priced for their location and basket, plus carrier options when a destination address and parcel are sent. Location: latitude + longitude, or a place_name (geocoded). country_code and postal_code may accompany either; they match zones defined by country and postcode, and a value sent here takes precedence over the one found by geocoding. A country_code alone (optionally with postal_code) is also a location: it prices zones that cover the country and the store's \\\"everywhere else\\\" rate without geocoding, which is enough for \\\"Delivery to the United Kingdom from £3.95\\\" on a product page. Zones drawn on a map and distance rates need coordinates and are skipped. When the store has no zone that a country can match (its rules are map zones and distance rates only), a country alone cannot be priced: the answer is 200 with configured: true, fee: null, cheapest_option: null and options holding only the pickup locations, and no \\\"everywhere else\\\" price is given. Show no delivery price in that case; send coordinates to price it. With no location at all, address_to + parcel returns carrier options only, with fee null. Basket: order_total is the merchandise after discounts, before tax and shipping; free-delivery thresholds and minimum orders are measured against it. items lists the basket's variants and quantities. It is optional, and is what lets the store apply rates that depend on the parcel's weight and rules it sets for particular product categories — a surcharge, delivery only to nearby addresses (restriction: local_only), or collection only (restriction: pickup_only). Pricing: the first zone containing the location — a zone drawn on a map, or a zone covering whole countries or postcode prefixes; otherwise the distance tier matching its distance from the store (a range includes its start and stops just before its end); otherwise the store's \\\"everywhere else\\\" rate. A matched rate is free when order_total reaches its free-delivery threshold. A store with no rates at all charges nothing (applied_rule: none) and answers configured: false with is_free: false: it has set up no delivery charges through us, so a storefront shows no delivery price and no free-delivery message. configured: false never means free delivery. Delivery dates: an option carries min_days and max_days (delivery days after dispatch) and a delivery_window of calendar dates, when the store has set delivery days. Dates are computed once, here, in the store's timezone (delivery.timezone): an order placed before the store's dispatch cutoff (delivery.dispatch_cutoff) on a delivery weekday dispatches that day, otherwise on the next delivery weekday, and days are counted on the store's delivery weekdays. Public holidays are not considered. A carrier option (rates[]) with only estimated_days carries min_days = max_days = that value and the same computed window. cheapest_option is the lowest-fee available option. Options: options[] lists everything the shopper can choose between. The first delivery option, id: place, is the matched rate itself (\\\"Standard delivery\\\"); its fee is also returned as fee. The store may add named options to the same rate — Express, Next day — with ids of the form opt:, each with its own fee and estimate. Pickup options (method: pickup, ids of the form pickup:) follow, nearest first when the location is known. An option with available: false exists but does not apply to this basket yet, usually because order_total is below its minimum_order. To order with an option, pass its id as shipping_option_id on POST /v1/orders. No delivery to the address: when the store does not deliver there but does offer pickup, the response is 200 with deliverable: false, fee: null and only the pickup options. When it offers neither, the answer is 400 shipping_not_deliverable. Multiple locations: when the store delivers from whichever of its locations is nearest the shopper, fulfilled_from names that location, and distance tiers are measured from it. Carrier options (rates[]) come from the store's connected carrier account and its custom shipping extension. To order with one, pass its rate_id and source on POST /v1/orders as shipping_rate_id and shipping_rate_source. This is a read-only operation (safe for publishable keys).\",\"url\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tybritelabs.com/api-reference/shipping/calculate-shipping-fee#webpage\"},\"dateModified\":\"2026-11-24T23:48:20.282Z\",\"publisher\":{\"@id\":\"https://docs.tybritelabs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tybritelabs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Galactic Core API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Galactic Core API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/shipping/calculate-shipping-fee.md","siteName":"Galactic Core API Documentation","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://gc.tybritelabs.com/dashboard"},{"anchor":"GitHub","icon":"github","href":"https://github.com/tybrite"},{"anchor":"Support","icon":"envelope","href":"mailto:support@tybrite.com"}]},"products":[{"product":"Galactic Core","icon":"cart-shopping","description":"Programmable commerce infrastructure","tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":""}]},{"tab":"API Reference","groups":[{"group":"Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"System","pages":[{"title":"API information","deprecated":null,"version":null,"openapi":"/openapi.yaml get /","href":"/api-reference/system/api-information"},{"title":"Health check","deprecated":null,"version":null,"openapi":"/tldp/openapi.yaml get /v1/health","href":"/api-reference/system/health-check"},{"title":"Get comprehensive store information","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/store/info","href":"/api-reference/system/get-comprehensive-store-information"}]},{"group":"Store","pages":[{"title":"Get the store profile","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/store/profile","href":"/api-reference/store/get-the-store-profile"},{"title":"List published policies","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/store/policies","href":"/api-reference/store/list-published-policies"},{"title":"Get a published policy","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/store/policies/{slug}","href":"/api-reference/store/get-a-published-policy"}]},{"group":"Products","pages":[{"title":"List products with filtering and pagination","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products","href":"/api-reference/products/list-products-with-filtering-and-pagination"},{"title":"List brands","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/brands","href":"/api-reference/products/list-brands"},{"title":"List the values a product list can be filtered by","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products/facets","href":"/api-reference/products/list-the-values-a-product-list-can-be-filtered-by"},{"title":"Get product by ID or variant ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products/{id}","href":"/api-reference/products/get-product-by-id-or-variant-id"},{"title":"Get product by SEO-friendly slug","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products/by-slug/{slug}","href":"/api-reference/products/get-product-by-seo-friendly-slug"},{"title":"Get a variant's specifications","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products/{id}/specifications","href":"/api-reference/products/get-a-variants-specifications"},{"title":"Get a product's custom fields","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/products/{id}/custom-fields","href":"/api-reference/products/get-a-products-custom-fields"},{"title":"List product specifications","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/product-specifications","href":"/api-reference/products/list-product-specifications"},{"title":"List product collections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/product-collections","href":"/api-reference/products/list-product-collections"},{"title":"Get product collection by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/product-collections/{id}","href":"/api-reference/products/get-product-collection-by-id"},{"title":"Get items in a product collection","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/product-collections/{id}/items","href":"/api-reference/products/get-items-in-a-product-collection"}]},{"group":"Taxonomy","pages":[{"title":"List categories","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/categories","href":"/api-reference/taxonomy/list-categories"},{"title":"Get category","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/categories/{id}","href":"/api-reference/taxonomy/get-category"},{"title":"List subcategories","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/subcategories","href":"/api-reference/taxonomy/list-subcategories"},{"title":"Get subcategory by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/subcategories/{id}","href":"/api-reference/taxonomy/get-subcategory-by-id"}]},{"group":"Orders","pages":[{"title":"List orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders","href":"/api-reference/orders/list-orders"},{"title":"Create order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/orders","href":"/api-reference/orders/create-order"},{"title":"Get order details","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders/{id}","href":"/api-reference/orders/get-order-details"},{"title":"Update order","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/orders/{id}","href":"/api-reference/orders/update-order"},{"title":"Reserve stock for checkout","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/checkout/reserve","href":"/api-reference/orders/reserve-stock-for-checkout"}]},{"group":"Payments","pages":[{"title":"Get available payment methods","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/payments/methods","href":"/api-reference/payments/get-available-payment-methods"},{"title":"Initialize payment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/payments/initialize","href":"/api-reference/payments/initialize-payment"},{"title":"Verify payment status","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/payments/verify","href":"/api-reference/payments/verify-payment-status"}]},{"group":"Cart \u0026 Wishlist","pages":[{"title":"Get cart","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/cart","href":"/api-reference/cart-\u0026-wishlist/get-cart"},{"title":"Clear cart","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/cart","href":"/api-reference/cart-\u0026-wishlist/clear-cart"},{"title":"Add to cart","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/cart/items","href":"/api-reference/cart-\u0026-wishlist/add-to-cart"},{"title":"Remove cart item","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/cart/items/{id}","href":"/api-reference/cart-\u0026-wishlist/remove-cart-item"},{"title":"Update cart item","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/cart/items/{id}","href":"/api-reference/cart-\u0026-wishlist/update-cart-item"},{"title":"Merge carts","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/cart/merge","href":"/api-reference/cart-\u0026-wishlist/merge-carts"},{"title":"Get wishlist","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/wishlist","href":"/api-reference/cart-\u0026-wishlist/get-wishlist"},{"title":"Add to wishlist","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/wishlist","href":"/api-reference/cart-\u0026-wishlist/add-to-wishlist"},{"title":"Remove from wishlist","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/wishlist/{id}","href":"/api-reference/cart-\u0026-wishlist/remove-from-wishlist"},{"title":"Move wishlist item to cart","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/wishlist/move-to-cart","href":"/api-reference/cart-\u0026-wishlist/move-wishlist-item-to-cart"},{"title":"Ask to be told when a variant is back in stock","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/variants/{id}/notify-when-available","href":"/api-reference/cart-\u0026-wishlist/ask-to-be-told-when-a-variant-is-back-in-stock"},{"title":"Record a guest's contact details at checkout","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/cart/checkout-contact","href":"/api-reference/cart-\u0026-wishlist/record-a-guests-contact-details-at-checkout"},{"title":"Restore the cart behind a recovery link","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/cart/checkout-recover","href":"/api-reference/cart-\u0026-wishlist/restore-the-cart-behind-a-recovery-link"}]},{"group":"Marketplace","pages":[{"title":"Check out a multi-merchant cart","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/cart/checkout","href":"/api-reference/marketplace/check-out-a-multi-merchant-cart"},{"title":"Quote a multi-merchant checkout","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/cart/checkout/quote","href":"/api-reference/marketplace/quote-a-multi-merchant-checkout"},{"title":"Get the signed-in shopper's unified marketplace profile","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/me","href":"/api-reference/marketplace/get-the-signed-in-shoppers-unified-marketplace-profile"},{"title":"Get the signed-in shopper's marketplace wallet","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/me/wallet","href":"/api-reference/marketplace/get-the-signed-in-shoppers-marketplace-wallet"},{"title":"Get marketplace information","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/marketplace/info","href":"/api-reference/marketplace/get-marketplace-information"},{"title":"List the marketplace's merchants","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/marketplace/info/merchants","href":"/api-reference/marketplace/list-the-marketplaces-merchants"},{"title":"Get placements for several slots","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/marketplace/ad-slots","href":"/api-reference/marketplace/get-placements-for-several-slots"},{"title":"Get placements for a slot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/marketplace/ad-slots/{slot_key}","href":"/api-reference/marketplace/get-placements-for-a-slot"},{"title":"Log an ad impression or click","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/marketplace/ad-events","href":"/api-reference/marketplace/log-an-ad-impression-or-click"},{"title":"List operator-curated merchandising sections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/marketplace/collections","href":"/api-reference/marketplace/list-operator-curated-merchandising-sections"},{"title":"Get one curated section with its members","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/marketplace/collections/{slug}","href":"/api-reference/marketplace/get-one-curated-section-with-its-members"}]},{"group":"Recommendations","pages":[{"title":"Get product recommendations","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/recommendations","href":"/api-reference/recommendations/get-product-recommendations"}]},{"group":"Discovery","pages":[{"title":"Most-viewed products (windowed)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/discovery/most-viewed","href":"/api-reference/discovery/most-viewed-products-windowed"},{"title":"Most-added-to-cart products (windowed)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/discovery/most-added-to-cart","href":"/api-reference/discovery/most-added-to-cart-products-windowed"},{"title":"Best-converting products (windowed)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/discovery/best-converting","href":"/api-reference/discovery/best-converting-products-windowed"}]},{"group":"Events","pages":[{"title":"Record a storefront product event","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/events","href":"/api-reference/events/record-a-storefront-product-event"}]},{"group":"Tax","pages":[{"title":"Preview tax for a cart before checkout","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/tax/preview","href":"/api-reference/tax/preview-tax-for-a-cart-before-checkout"}]},{"group":"Analytics","pages":[{"title":"Record a storefront analytics event","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/analytics/collect","href":"/api-reference/analytics/record-a-storefront-analytics-event"}]},{"group":"Agent","pages":[{"title":"List the agent tools","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/capabilities","href":"/api-reference/agent/list-the-agent-tools"},{"title":"Search by constraints","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/search","href":"/api-reference/agent/search-by-constraints"},{"title":"Read a shopper's message","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/interpret","href":"/api-reference/agent/read-a-shoppers-message"},{"title":"Get a product dossier","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/products/{id}/context","href":"/api-reference/agent/get-a-product-dossier"},{"title":"Compare products","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/compare","href":"/api-reference/agent/compare-products"},{"title":"Check a product against constraints","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/fit","href":"/api-reference/agent/check-a-product-against-constraints"},{"title":"Find alternatives to a product","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/alternatives","href":"/api-reference/agent/find-alternatives-to-a-product"},{"title":"Price a basket","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/quote","href":"/api-reference/agent/price-a-basket"},{"title":"Create a cart draft","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/cart-drafts","href":"/api-reference/agent/create-a-cart-draft"},{"title":"Draft a cart from an intent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/cart-drafts/from-intent","href":"/api-reference/agent/draft-a-cart-from-an-intent"},{"title":"Get a cart draft","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/cart-drafts/{id}","href":"/api-reference/agent/get-a-cart-draft"},{"title":"Add a draft to the shopper's cart","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/cart-drafts/{id}/apply","href":"/api-reference/agent/add-a-draft-to-the-shoppers-cart"},{"title":"Get insights on a cart","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/cart-insights","href":"/api-reference/agent/get-insights-on-a-cart"},{"title":"Get the shopper's personalisation consent","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/consent","href":"/api-reference/agent/get-the-shoppers-personalisation-consent"},{"title":"Grant or revoke personalisation consent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/consent","href":"/api-reference/agent/grant-or-revoke-personalisation-consent"},{"title":"Get the shopper's own context","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/context","href":"/api-reference/agent/get-the-shoppers-own-context"},{"title":"Get wishlist insights","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/wishlist-insights","href":"/api-reference/agent/get-wishlist-insights"},{"title":"Get reorder suggestions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/reorder-suggestions","href":"/api-reference/agent/get-reorder-suggestions"},{"title":"Get an order's status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/orders/{id}/status","href":"/api-reference/agent/get-an-orders-status"},{"title":"Request a return for an order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/orders/{id}/returns","href":"/api-reference/agent/request-a-return-for-an-order"},{"title":"List the shopper's standing instructions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/mandates","href":"/api-reference/agent/list-the-shoppers-standing-instructions"},{"title":"Create a standing instruction","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/mandates","href":"/api-reference/agent/create-a-standing-instruction"},{"title":"Cancel a standing instruction","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/mandates/{id}/cancel","href":"/api-reference/agent/cancel-a-standing-instruction"},{"title":"Subscribe \u0026 Save offers on a product","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/products/{id}/subscribe-save","href":"/api-reference/agent/subscribe-\u0026-save-offers-on-a-product"},{"title":"List the shopper's assistant conversations","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/conversations","href":"/api-reference/agent/list-the-shoppers-assistant-conversations"},{"title":"Start an assistant conversation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/conversations","href":"/api-reference/agent/start-an-assistant-conversation"},{"title":"Delete all of the shopper's assistant conversations","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/agent/me/conversations","href":"/api-reference/agent/delete-all-of-the-shoppers-assistant-conversations"},{"title":"Move a guest's conversations to the shopper who signed in","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/conversations/adopt","href":"/api-reference/agent/move-a-guests-conversations-to-the-shopper-who-signed-in"},{"title":"Get an assistant conversation with its turns","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/conversations/{id}","href":"/api-reference/agent/get-an-assistant-conversation-with-its-turns"},{"title":"Delete an assistant conversation","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/agent/me/conversations/{id}","href":"/api-reference/agent/delete-an-assistant-conversation"},{"title":"Add a turn to an assistant conversation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/conversations/{id}/turns","href":"/api-reference/agent/add-a-turn-to-an-assistant-conversation"},{"title":"List the shopper's Subscribe \u0026 Save subscriptions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/me/shopper-subscriptions","href":"/api-reference/agent/list-the-shoppers-subscribe-\u0026-save-subscriptions"},{"title":"Start a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/shopper-subscriptions","href":"/api-reference/agent/start-a-subscribe-\u0026-save-subscription"},{"title":"Pause a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/shopper-subscriptions/{id}/pause","href":"/api-reference/agent/pause-a-subscribe-\u0026-save-subscription"},{"title":"Skip the next Subscribe \u0026 Save delivery","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/shopper-subscriptions/{id}/skip","href":"/api-reference/agent/skip-the-next-subscribe-\u0026-save-delivery"},{"title":"Cancel a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/shopper-subscriptions/{id}/cancel","href":"/api-reference/agent/cancel-a-subscribe-\u0026-save-subscription"},{"title":"Change a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/me/shopper-subscriptions/{id}/update","href":"/api-reference/agent/change-a-subscribe-\u0026-save-subscription"},{"title":"Create a checkout intent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/checkout-intents","href":"/api-reference/agent/create-a-checkout-intent"},{"title":"Get a checkout intent","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/checkout-intents/{id}","href":"/api-reference/agent/get-a-checkout-intent"},{"title":"Confirm a checkout intent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/checkout-intents/{id}/confirm","href":"/api-reference/agent/confirm-a-checkout-intent"},{"title":"Cancel a checkout intent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agent/checkout-intents/{id}/cancel","href":"/api-reference/agent/cancel-a-checkout-intent"},{"title":"Get the store's policies","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/store-policies","href":"/api-reference/agent/get-the-stores-policies"},{"title":"Get AI credit usage","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agent/usage","href":"/api-reference/agent/get-ai-credit-usage"}]},{"group":"Search","pages":[{"title":"Simple text search","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/search","href":"/api-reference/search/simple-text-search"},{"title":"Semantic search","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/search","href":"/api-reference/search/semantic-search"},{"title":"Type-ahead suggestions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/search/autocomplete","href":"/api-reference/search/type-ahead-suggestions"}]},{"group":"Authentication","pages":[{"title":"Register customer account","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/register","href":"/api-reference/authentication/register-customer-account"},{"title":"Confirm a new account","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/register/verify","href":"/api-reference/authentication/confirm-a-new-account"},{"title":"Resend the confirmation email","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/register/resend","href":"/api-reference/authentication/resend-the-confirmation-email"},{"title":"Create an account from a guest order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/claim-account","href":"/api-reference/authentication/create-an-account-from-a-guest-order"},{"title":"Login with email and password","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/login","href":"/api-reference/authentication/login-with-email-and-password"},{"title":"Logout current session","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/logout","href":"/api-reference/authentication/logout-current-session"},{"title":"Send a sign-in code","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/magic-link","href":"/api-reference/authentication/send-a-sign-in-code"},{"title":"Verify a sign-in code","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/verify-otp","href":"/api-reference/authentication/verify-a-sign-in-code"},{"title":"Request a password reset","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/password/forgot","href":"/api-reference/authentication/request-a-password-reset"},{"title":"Reset a password","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/password/reset","href":"/api-reference/authentication/reset-a-password"},{"title":"Change or set a password","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/password/change","href":"/api-reference/authentication/change-or-set-a-password"},{"title":"Refresh access token","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/refresh","href":"/api-reference/authentication/refresh-access-token"},{"title":"Get current user","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/auth/me","href":"/api-reference/authentication/get-current-user"}]},{"group":"Customers","pages":[{"title":"Create customer","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers","href":"/api-reference/customers/create-customer"},{"title":"Get customer details","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}","href":"/api-reference/customers/get-customer-details"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/customers/{id}","href":"/api-reference/customers/update-customer"},{"title":"List a shopper's saved addresses","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/addresses","href":"/api-reference/customers/list-a-shoppers-saved-addresses"},{"title":"Save a new address","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/addresses","href":"/api-reference/customers/save-a-new-address"},{"title":"Delete a saved address","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/customers/{id}/addresses/{addressId}","href":"/api-reference/customers/delete-a-saved-address"},{"title":"Update a saved address","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/customers/{id}/addresses/{addressId}","href":"/api-reference/customers/update-a-saved-address"},{"title":"List a shopper's Subscribe \u0026 Save subscriptions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/shopper-subscriptions","href":"/api-reference/customers/list-a-shoppers-subscribe-\u0026-save-subscriptions"},{"title":"Get a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/shopper-subscriptions/{subscriptionId}","href":"/api-reference/customers/get-a-subscribe-\u0026-save-subscription"},{"title":"Change a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/customers/{id}/shopper-subscriptions/{subscriptionId}","href":"/api-reference/customers/change-a-subscribe-\u0026-save-subscription"},{"title":"Pause a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/shopper-subscriptions/{subscriptionId}/pause","href":"/api-reference/customers/pause-a-subscribe-\u0026-save-subscription"},{"title":"Resume a paused Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/shopper-subscriptions/{subscriptionId}/resume","href":"/api-reference/customers/resume-a-paused-subscribe-\u0026-save-subscription"},{"title":"Skip the next Subscribe \u0026 Save delivery","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/shopper-subscriptions/{subscriptionId}/skip-next","href":"/api-reference/customers/skip-the-next-subscribe-\u0026-save-delivery"},{"title":"Cancel a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/shopper-subscriptions/{subscriptionId}/cancel","href":"/api-reference/customers/cancel-a-subscribe-\u0026-save-subscription"},{"title":"Add a card to a Subscribe \u0026 Save subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/shopper-subscriptions/{subscriptionId}/payment-method","href":"/api-reference/customers/add-a-card-to-a-subscribe-\u0026-save-subscription"},{"title":"List a shopper's saved cards","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/payment-methods","href":"/api-reference/customers/list-a-shoppers-saved-cards"},{"title":"Remove a saved card","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/customers/{id}/payment-methods/{paymentMethodId}","href":"/api-reference/customers/remove-a-saved-card"},{"title":"List a shopper's data requests","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/data-requests","href":"/api-reference/customers/list-a-shoppers-data-requests"},{"title":"Ask for a copy of my data, or for my account to be deleted","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/data-requests","href":"/api-reference/customers/ask-for-a-copy-of-my-data-or-for-my-account-to-be-deleted"},{"title":"Download a copy of my data","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/data-requests/{request_id}/export","href":"/api-reference/customers/download-a-copy-of-my-data"},{"title":"Start changing a shopper's email address","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/email-change","href":"/api-reference/customers/start-changing-a-shoppers-email-address"},{"title":"Confirm a shopper's new email address","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/email-change/confirm","href":"/api-reference/customers/confirm-a-shoppers-new-email-address"},{"title":"List a shopper's delivered items","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/customers/{id}/fulfilments","href":"/api-reference/customers/list-a-shoppers-delivered-items"},{"title":"Reveal the codes of a delivered item","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/customers/{id}/fulfilments/{fulfilment_id}/reveal","href":"/api-reference/customers/reveal-the-codes-of-a-delivered-item"},{"title":"Download a file the shopper bought","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/fulfilment/downloads/{fulfilment_id}/{asset_id}","href":"/api-reference/customers/download-a-file-the-shopper-bought"}]},{"group":"Gift Cards","pages":[{"title":"List gift cards","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/gift-cards","href":"/api-reference/gift-cards/list-gift-cards"},{"title":"Check gift card balance","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/gift-cards/check","href":"/api-reference/gift-cards/check-gift-card-balance"}]},{"group":"Promotions","pages":[{"title":"List promotions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/promotions","href":"/api-reference/promotions/list-promotions"},{"title":"Get promotion details","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/promotions/{id}","href":"/api-reference/promotions/get-promotion-details"},{"title":"Calculate a promotion's discount for a cart","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/promotions/{id}/calculate","href":"/api-reference/promotions/calculate-a-promotions-discount-for-a-cart"},{"title":"Find the best promotion for a cart","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/promotions/calculate-best","href":"/api-reference/promotions/find-the-best-promotion-for-a-cart"},{"title":"List the Subscribe \u0026 Save offers for a product","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/subscribe-save/offers","href":"/api-reference/promotions/list-the-subscribe-\u0026-save-offers-for-a-product"},{"title":"Quote the price of a Subscribe \u0026 Save offer","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/subscribe-save/quote","href":"/api-reference/promotions/quote-the-price-of-a-subscribe-\u0026-save-offer"}]},{"group":"Campaigns","pages":[{"title":"List running campaigns","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/campaigns","href":"/api-reference/campaigns/list-running-campaigns"},{"title":"Get a running campaign","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/campaigns/{id}","href":"/api-reference/campaigns/get-a-running-campaign"}]},{"group":"CMS","pages":[{"title":"List blog posts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/posts","href":"/api-reference/cms/list-blog-posts"},{"title":"Get blog post by slug","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/posts/{slug}","href":"/api-reference/cms/get-blog-post-by-slug"},{"title":"Most-read blog posts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/posts/trending","href":"/api-reference/cms/most-read-blog-posts"},{"title":"Posts related to this one","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/posts/{slug}/related","href":"/api-reference/cms/posts-related-to-this-one"},{"title":"List lookbooks","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/lookbooks","href":"/api-reference/cms/list-lookbooks"},{"title":"Get lookbook details by slug","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/lookbooks/{slug}","href":"/api-reference/cms/get-lookbook-details-by-slug"},{"title":"Subscribe an email to the store's newsletter","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/newsletter/subscribe","href":"/api-reference/cms/subscribe-an-email-to-the-stores-newsletter"},{"title":"Get a lead form","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/lead-forms/{slug}","href":"/api-reference/cms/get-a-lead-form"},{"title":"Get a lead form token","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/lead-forms/{slug}/token","href":"/api-reference/cms/get-a-lead-form-token"},{"title":"Submit a lead form","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/lead-forms/{slug}/submit","href":"/api-reference/cms/submit-a-lead-form"}]},{"group":"Pricing","pages":[{"title":"Get prices for multiple products with dynamic pricing and multi-currency support","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/prices/products","href":"/api-reference/pricing/get-prices-for-multiple-products-with-dynamic-pricing-and-multi-currency-support"},{"title":"Get single product pricing with dynamic pricing and multi-currency support","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/prices/products/{id}","href":"/api-reference/pricing/get-single-product-pricing-with-dynamic-pricing-and-multi-currency-support"},{"title":"Get product pricing by SEO-friendly slug with dynamic pricing and multi-currency support","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/prices/products/by-slug/{slug}","href":"/api-reference/pricing/get-product-pricing-by-seo-friendly-slug-with-dynamic-pricing-and-multi-currency-support"}]},{"group":"Messaging","pages":[{"title":"List message threads","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/messaging/threads","href":"/api-reference/messaging/list-message-threads"},{"title":"Get thread details","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/messaging/threads/{id}","href":"/api-reference/messaging/get-thread-details"},{"title":"Update thread","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/messaging/threads/{id}","href":"/api-reference/messaging/update-thread"},{"title":"Get messages in a thread","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/messaging/threads/{id}/messages","href":"/api-reference/messaging/get-messages-in-a-thread"},{"title":"Send a message to a thread","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/threads/{id}/messages","href":"/api-reference/messaging/send-a-message-to-a-thread"},{"title":"Start a new conversation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/conversations","href":"/api-reference/messaging/start-a-new-conversation"},{"title":"Mark thread as read","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/threads/{id}/read","href":"/api-reference/messaging/mark-thread-as-read"},{"title":"Delete message","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/messaging/messages/{id}","href":"/api-reference/messaging/delete-message"},{"title":"Edit message","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/messaging/messages/{id}","href":"/api-reference/messaging/edit-message"},{"title":"Subscribe to a thread's new messages in realtime (WebSocket)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/messaging/threads/{id}/subscribe","href":"/api-reference/messaging/subscribe-to-a-threads-new-messages-in-realtime-websocket"},{"title":"Read a guest conversation from its email link","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/guest-thread/view","href":"/api-reference/messaging/read-a-guest-conversation-from-its-email-link"},{"title":"Reply on a guest conversation from its email link","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/guest-thread/reply","href":"/api-reference/messaging/reply-on-a-guest-conversation-from-its-email-link"},{"title":"Report a marketplace guest conversation from its email link","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/guest-thread/report","href":"/api-reference/messaging/report-a-marketplace-guest-conversation-from-its-email-link"},{"title":"Report a marketplace conversation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/messaging/threads/{id}/report","href":"/api-reference/messaging/report-a-marketplace-conversation"}]},{"group":"Shipping","pages":[{"title":"Get shipping zones and pricing tiers","description":"The store's delivery rates and pickup locations: its active distance-based pricing tiers, its\nactive delivery zones, its \"everywhere else\" rate, and the locations where shoppers can collect\nan order.\n\n**How an address is priced** (see `POST /v1/shipping/calculate`):\n1. The first zone that contains it — lowest `priority` first, then the zone created first. An\n `area` zone contains the addresses inside the area drawn on its map; a `region` zone contains\n the addresses in one of its `countries`, narrowed to `postcodes` that start with one of the\n listed prefixes when it has any.\n2. Otherwise, the tier whose range contains its distance from the store. A range includes its\n `min_distance_meters` and stops just before its `max_distance_meters`.\n3. Otherwise, `everywhere_else`. When it is null, or `refuse` is true, and the store has zones or\n tiers, an address outside them is not delivered to.\n\nEvery amount is in `currency`. A store with no tiers, zones or `everywhere_else` rate charges\nnothing for delivery through these rates.\n\n**Pickup:** each entry in `pickup_locations` is a location where an order can be collected\ninstead of delivered, with its own `pickup_fee` and, when set, a `minimum_order`. The store's\nprimary location is listed first.\n\n**Caching:** the response is cached for up to 60 seconds and carries an ETag (send\n`If-None-Match` for a `304`). Changes to the store's rates appear here within that window;\n`POST /v1/shipping/calculate` and order creation always read the current rates.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/shipping/zones","href":"/api-reference/shipping/get-shipping-zones-and-pricing-tiers"},{"title":"Calculate shipping fee","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/shipping/calculate","href":"/api-reference/shipping/calculate-shipping-fee"},{"title":"Track a shipment","description":"Returns the live tracking status for a parcel by carrier + tracking number. Requires the\nstore to have multi-carrier shipping connected.\n\nA secret key tracks any parcel on the store's carrier account. A publishable key tracks only a\ntracking number that is on one of the store's own orders (in the key's environment), so a\nstorefront can show a shopper their own parcel; any other number answers `404`.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/shipping/tracking/{carrier}/{number}","href":"/api-reference/shipping/track-a-shipment"}]},{"group":"GC Connect","pages":[{"title":"Validate an authorization request","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/connect/authorize","href":"/api-reference/gc-connect/validate-an-authorization-request"},{"title":"Approve the authorization (merchant consent)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/connect/authorize","href":"/api-reference/gc-connect/approve-the-authorization-merchant-consent"},{"title":"Exchange authorization code for API keys","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/connect/token","href":"/api-reference/gc-connect/exchange-authorization-code-for-api-keys"},{"title":"Revoke a store connection","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/connect/revoke","href":"/api-reference/gc-connect/revoke-a-store-connection"},{"title":"List active store connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/connect/sessions","href":"/api-reference/gc-connect/list-active-store-connections"},{"title":"List the linked store's team","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/connect/team","href":"/api-reference/gc-connect/list-the-linked-stores-team"}]},{"group":"Storefront Studio","pages":[{"title":"Read the reported storefront address and routes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/site","href":"/api-reference/storefront-studio/read-the-reported-storefront-address-and-routes"},{"title":"Report the storefront's address and routes","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/storefront/site","href":"/api-reference/storefront-studio/report-the-storefronts-address-and-routes"},{"title":"List the app's A/B experiments","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/experiments","href":"/api-reference/storefront-studio/list-the-apps-ab-experiments"},{"title":"Register or update an A/B experiment","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/storefront/experiments/{experiment_id}","href":"/api-reference/storefront-studio/register-or-update-an-ab-experiment"},{"title":"Read the paid orders for each variant of an experiment","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/experiments/{experiment_id}/conversions","href":"/api-reference/storefront-studio/read-the-paid-orders-for-each-variant-of-an-experiment"},{"title":"List the support requests the app opened","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/tickets","href":"/api-reference/storefront-studio/list-the-support-requests-the-app-opened"},{"title":"Open a support request for the store","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/storefront/tickets","href":"/api-reference/storefront-studio/open-a-support-request-for-the-store"},{"title":"Read one support request the app opened","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/tickets/{ticket_id}","href":"/api-reference/storefront-studio/read-one-support-request-the-app-opened"},{"title":"List the templates the app offered","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/templates","href":"/api-reference/storefront-studio/list-the-templates-the-app-offered"},{"title":"Read a template the app offered","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/storefront/templates/{template_id}","href":"/api-reference/storefront-studio/read-a-template-the-app-offered"},{"title":"Offer a template for the store","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/storefront/templates/{template_id}","href":"/api-reference/storefront-studio/offer-a-template-for-the-store"},{"title":"Withdraw a template offer","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/storefront/templates/{template_id}","href":"/api-reference/storefront-studio/withdraw-a-template-offer"}]},{"group":"Reviews","pages":[{"title":"List reviews for a product","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/reviews","href":"/api-reference/reviews/list-reviews-for-a-product"},{"title":"Submit a product review","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/reviews","href":"/api-reference/reviews/submit-a-product-review"},{"title":"Get a single review","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/reviews/{id}","href":"/api-reference/reviews/get-a-single-review"},{"title":"Delete your own review","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/reviews/{id}","href":"/api-reference/reviews/delete-your-own-review"},{"title":"Mark a review as helpful","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/reviews/{id}/helpful","href":"/api-reference/reviews/mark-a-review-as-helpful"}]},{"group":"Returns","pages":[{"title":"List return reason codes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/returns/reasons","href":"/api-reference/returns/list-return-reason-codes"},{"title":"Check whether an order can still be returned","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/returns/eligibility","href":"/api-reference/returns/check-whether-an-order-can-still-be-returned"},{"title":"Get the customer's store credit balance","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/returns/store-credit","href":"/api-reference/returns/get-the-customers-store-credit-balance"},{"title":"List the signed-in customer's returns","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/returns","href":"/api-reference/returns/list-the-signed-in-customers-returns"},{"title":"Lodge a return","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/returns","href":"/api-reference/returns/lodge-a-return"},{"title":"Get one of the customer's returns","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/returns/{id}","href":"/api-reference/returns/get-one-of-the-customers-returns"},{"title":"Accept a store credit offer","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/returns/{id}/accept-credit","href":"/api-reference/returns/accept-a-store-credit-offer"},{"title":"Request a refund instead of store credit","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/returns/{id}/request-refund","href":"/api-reference/returns/request-a-refund-instead-of-store-credit"}]},{"group":"Disputes","pages":[{"title":"List dispute reason codes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/disputes/reasons","href":"/api-reference/disputes/list-dispute-reason-codes"},{"title":"List the shopper's disputes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/disputes","href":"/api-reference/disputes/list-the-shoppers-disputes"},{"title":"Open a dispute","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/disputes","href":"/api-reference/disputes/open-a-dispute"},{"title":"Get a dispute","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/disputes/{id}","href":"/api-reference/disputes/get-a-dispute"},{"title":"Cancel a dispute","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/disputes/{id}/cancel","href":"/api-reference/disputes/cancel-a-dispute"},{"title":"Add a message to a dispute","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/disputes/{id}/messages","href":"/api-reference/disputes/add-a-message-to-a-dispute"}]},{"group":"B2B","pages":[{"title":"List your requests for quote","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/rfqs","href":"/api-reference/b2b/list-your-requests-for-quote"},{"title":"Request a quote","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/b2b/rfqs","href":"/api-reference/b2b/request-a-quote"},{"title":"Get one of your RFQs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/rfqs/{id}","href":"/api-reference/b2b/get-one-of-your-rfqs"},{"title":"Get a quote addressed to you","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/quotes/{id}","href":"/api-reference/b2b/get-a-quote-addressed-to-you"},{"title":"Accept a quote","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/b2b/quotes/{id}/accept","href":"/api-reference/b2b/accept-a-quote"},{"title":"Reject a quote","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/b2b/quotes/{id}/reject","href":"/api-reference/b2b/reject-a-quote"},{"title":"List your purchase orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/purchase-orders","href":"/api-reference/b2b/list-your-purchase-orders"},{"title":"Get one of your purchase orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/purchase-orders/{id}","href":"/api-reference/b2b/get-one-of-your-purchase-orders"},{"title":"List your invoices","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/invoices","href":"/api-reference/b2b/list-your-invoices"},{"title":"Get one of your invoices","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/invoices/{id}","href":"/api-reference/b2b/get-one-of-your-invoices"},{"title":"Start paying an invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/b2b/invoices/{id}/pay","href":"/api-reference/b2b/start-paying-an-invoice"},{"title":"List the approvals the signed-in approver can decide","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/b2b/approvals","href":"/api-reference/b2b/list-the-approvals-the-signed-in-approver-can-decide"},{"title":"Approve or reject a held purchase","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/b2b/approvals/{id}/decision","href":"/api-reference/b2b/approve-or-reject-a-held-purchase"},{"title":"Place a wholesale order directly (self-serve checkout)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/b2b/orders","href":"/api-reference/b2b/place-a-wholesale-order-directly-self-serve-checkout"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/tldp/openapi.yaml get /v1/webhooks","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/tldp/openapi.yaml post /v1/webhooks","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/tldp/openapi.yaml delete /v1/webhooks/{webhookId}","href":"/api-reference/webhooks/delete-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/tldp/openapi.yaml post /v1/webhooks/{webhookId}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"List webhook events","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/webhook_events","href":"/api-reference/webhooks/list-webhook-events"},{"title":"Get a webhook event","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/webhook_events/{id}","href":"/api-reference/webhooks/get-a-webhook-event"},{"title":"Retry a webhook event","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/webhook_events/{id}/retry","href":"/api-reference/webhooks/retry-a-webhook-event"}]},{"group":"Ingestion","pages":[{"title":"Ingest a batch of products","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/ingest/products","href":"/api-reference/ingestion/ingest-a-batch-of-products"},{"title":"Get a sample product feed","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/ingest/sample","href":"/api-reference/ingestion/get-a-sample-product-feed"},{"title":"Validate a product feed (no writes)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/ingest/test","href":"/api-reference/ingestion/validate-a-product-feed-no-writes"}]},{"group":"Feeds","pages":[{"title":"Public catalog feed (JSON)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/feeds/{store}/products.json","href":"/api-reference/feeds/public-catalog-feed-json"},{"title":"Public catalog feed (XML)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/feeds/{store}/products.xml","href":"/api-reference/feeds/public-catalog-feed-xml"},{"title":"Store summary for AI assistants (llms.txt)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/feeds/{store}/llms.txt","href":"/api-reference/feeds/store-summary-for-ai-assistants-llmstxt"},{"title":"Full catalog for AI assistants (llms-full.txt)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/feeds/{store}/llms-full.txt","href":"/api-reference/feeds/full-catalog-for-ai-assistants-llms-fulltxt"},{"title":"How an AI assistant connects to a store (agent.json)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/feeds/{store}/agent.json","href":"/api-reference/feeds/how-an-ai-assistant-connects-to-a-store-agentjson"}]},{"group":"Sandbox","pages":[{"title":"Reset your sandbox data","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/reset","href":"/api-reference/sandbox/reset-your-sandbox-data"},{"title":"Reset your sandbox data (alias)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/sandbox/data","href":"/api-reference/sandbox/reset-your-sandbox-data-alias"},{"title":"Fast-forward sandbox time","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/time","href":"/api-reference/sandbox/fast-forward-sandbox-time"},{"title":"Replay a sandbox webhook event","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/webhooks/replay","href":"/api-reference/sandbox/replay-a-sandbox-webhook-event"},{"title":"Create a sandbox promotion","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/seed/promotion","href":"/api-reference/sandbox/create-a-sandbox-promotion"},{"title":"Create a sandbox gift card","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/seed/gift-card","href":"/api-reference/sandbox/create-a-sandbox-gift-card"},{"title":"Create a sandbox campaign","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/seed/campaign","href":"/api-reference/sandbox/create-a-sandbox-campaign"},{"title":"Create a sandbox B2B buyer account","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/seed/b2b-buyer-account","href":"/api-reference/sandbox/create-a-sandbox-b2b-buyer-account"},{"title":"Create a sandbox dynamic-pricing rule","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/seed/pricing-rule","href":"/api-reference/sandbox/create-a-sandbox-dynamic-pricing-rule"},{"title":"List sandbox stock levels","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/sandbox/stock","href":"/api-reference/sandbox/list-sandbox-stock-levels"},{"title":"Set sandbox stock levels","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/sandbox/stock","href":"/api-reference/sandbox/set-sandbox-stock-levels"},{"title":"Remove every sandbox stock level","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/sandbox/stock","href":"/api-reference/sandbox/remove-every-sandbox-stock-level"},{"title":"Remove one sandbox stock level","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/sandbox/stock/{variant_id}","href":"/api-reference/sandbox/remove-one-sandbox-stock-level"}]},{"group":"Agency Signup","pages":[{"title":"Get an agency's plans and its active automatic offers","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/agency/pricing","href":"/api-reference/agency-signup/get-an-agencys-plans-and-its-active-automatic-offers"},{"title":"Get the platform's active automatic offers","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/pricing/offers","href":"/api-reference/agency-signup/get-the-platforms-active-automatic-offers"},{"title":"Sign a merchant up under an agency (send code, verify, create the store)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/agency/merchant-signup","href":"/api-reference/agency-signup/sign-a-merchant-up-under-an-agency-send-code-verify-create-the-store"}]}]},{"tab":"TypeScript SDK","pages":[{"title":"TypeScript SDK","href":"/sdk/introduction"}]},{"tab":"Workflow Examples","pages":[{"title":"Workflow Examples","href":"/workflows/introduction"}]}]},{"product":"TLDP","icon":"truck","description":"One API for logistics: rates, shipments, tracking and returns","pages":[{"title":"TLDP","href":"/tldp"}]}]},"basePath":"","title":"Calculate shipping fee - Galactic Core API Documentation","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-B564ZPEC.js","snippetPresets-L1o8HcxD.js","utils-CztB6GTn.js","style-to-object-BY3JEAdk.js","utils-CvVTgJWk.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DYi6_847.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DthbVJn_.js","_Uint8Array-G4MDMcnE.js","isObject-FP1Yky1u.js","Page-Cwg6gQ2F.js","api-description-markdown-DFvICuUq.js","DynamicMarkdown-DHV3eOcf.js","CodeSnippet-DANVAYTI.js","use-playground-group-access-DaUWE1Sg.js","SectionHeading-DLRZDaDn.js","ApiExamples-BnQo4SxZ.js","usePlaygroundInputsStore-Dsmj0Yg6.js","shallow-Bp_wEvgz.js","isEqual-BwXlkqOR.js","CodeSnippets-D6Fi8DmN.js","MethodPill-CgqQYk5N.js","getPastedJson-k_txzq3J.js","Check2Icon-CO8ho5Tt.js","axios-CsQoIw0U.js","Markdown-C8ZpmBko.js","AssistantPageLink-AWAGfbYY.js","dist-CAcI43Vk.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}