Skip to main content
POST
Switch Cart Market

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API token.

Path Parameters

cartId
string<uuid>
required

The unique identifier for the cart

Body

application/json
marketId
string<uuid>
required

The identifier of the market to switch the cart to.

Response

Market switched. Returns the recalculated cart in the new market's currency.

data
object

A storefront shopping cart with its items, totals and applied discounts. Monetary amounts are expressed in the cart currency's minor units (e.g. pence/cents).