Creates a new shopping cart (order). Can be created by guests or authenticated customers.
Returns a token that must be used for guest access to the order.
Publishable API key for store access
Bearer JWT token (optional - for authenticated customers)
Unique key for request idempotency. Duplicate requests with the same key return the cached response.
Write-only key-value metadata (Stripe-style). Not returned in responses.
cart created with metadata