Start a cart in a currency and country
post/shop/carts
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Mcp
rivier_shop_cart_create- Graphql
Mutation.createShopCart- Sdk
shop.cart.create- Cli
shop cart create
Request bodyapplication/json, required
- currencystringrequiredPattern: ^[a-z]{3}$.
- countrystringDefault: .
- channelstringDefault: storefront. At most 40 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring