Creates or resumes a cart for the given location. The response includes the cart ID or an error message explaining why ordering is unavailable.
API Key required to authenticate requests
Fulfillment method requested by the shopper (for example pickup, delivery).
"pickup"
Optional identifier describing the sales channel initiating the session.
"web"
Resume an existing cart when provided. If not found, a new cart is created.
"cart_123"
Arbitrary metadata to persist on the cart. Keys must be strings.
{ "referrer": "homepage" }URL to redirect the shopper after a hosted checkout flow finishes.
"https://yourapp.com/checkout/success"