Start a cart
post/public/shop/carts
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:read- Sdk
shop.publicCart.create- Cli
shop public cart create- Publishable
yes
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