Skip to content

Create an empty guest cart; sets httpOnly cart-token cookie

POST
/store/v1/carts
curl --request POST \
--url https://your-store.example.com/store/v1/carts \
--header 'Content-Type: application/json' \
--data '{ "currency": "example" }'
Media type application/json
object
currency
string
/^[A-Z]{3}$/
Example generated
{
"currency": "example"
}