Set country
PUT
/ store/ v1/ carts/ {cart_id}/ countryPrice the cart for buyers in another country (the storefront's country selector): its market's currency and prices, until the cart has a shipping address, whose country then decides. null returns it to the primary market.
Path parameters
cart_idstringrequiredThe cart's ID, like
cart_01k8qs5s….
Headers
X-Cart-TokenstringrequiredThe cart's token
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
countrystring · or nullISO 3166-1 alpha-2, e.g.
AE;null: the primary market.
Returns
200 The repriced cart.
Errors
- 404
not_foundNo such cart. - 409A payment is in progress, or the cart is completed.
- 422
validation_failedNot a country.