List a market's shipping options

Lists the active shipping options of one market, lowest `position` first, not paginated. Without `market`, or for an unknown or draft market, the list is empty. Prices include VAT where it applies, for a delivery to `country`, else to the merchant's country. With `locale`, each label is served in the requested locale, else its base language, else the site's default locale. Errors: 404 when shipping or markets are not enabled on the site, 422 for a non-boolean `fallback`. > **Note:** Available only on sites with e-commerce enabled.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Site access
GET/shipping-options
Base URLhttps://api.lynkow.com/storefront/{siteId}

Query parameters

country
string

Delivery country (ISO 3166-1 alpha-2) the prices include VAT for. An unusable value falls back to the merchant's country.

fallback
boolean

With `false`, a multi-language site leaves out the options not translated in the requested `locale`.

locale
string

Language to serve the labels in. A locale with no translation is served through the locale chain, flagged by `isFallback`.

market
string

Identifier of the market to list (prefixed `mkt_`), as the markets read returns it. Without it the list is empty.

Feedback

Was this page helpful?