Update market
PUT
/ admin/ v1/ stores/ {store_id}/ markets/ {market_id}- settings:write
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.market_idstringrequiredThe market's ID, like
mkt_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
namestringrequiredcountriesarray of stringsrequiredAt most 60; not the store's own country, nor another market's.
currencystringrequiredexchange_ratestringrequiredMarket currency per one unit of the store's currency, up to 8 decimals.
roundingenumrequiredHow converted product prices are rounded.
- none
- whole
- ending_99
- ending_95
adjustment_bpinteger−5000..= 10000 basis points.
domainstring · or nullactiveboolean
Returns
200 Saved.
Errors
- 404
not_foundNo such market. - 422
validation_failedInvalid fields.