Skip to content

Update market

PUT/admin/v1/stores/{store_id}/markets/{market_id}
  • settings:write

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • market_idstringrequired

    The market's ID, like mkt_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • namestringrequired
  • countriesarray of stringsrequired

    At most 60; not the store's own country, nor another market's.

  • currencystringrequired
  • exchange_ratestringrequired

    Market currency per one unit of the store's currency, up to 8 decimals.

  • roundingenumrequired

    How converted product prices are rounded.

    • none
    • whole
    • ending_99
    • ending_95
  • adjustment_bpinteger

    −5000..= 10000 basis points.

  • domainstring · or null
  • activeboolean

Returns

200 Saved.

Errors

  • 404not_foundNo such market.
  • 422validation_failedInvalid fields.