Add an item to the guest storefront cart

Public storefront endpoint. Direct cart additions are store-scoped and not blocked by storefront listing visibility.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Store unique_id.

Body Params
string
enum
required
Allowed:
required
integer
≥ 1
Defaults to 1
Headers
string
required

Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes.

uuid

Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json