Skip to main content
POST
For headless or cross-domain installs: proxies a Shopify Storefront cart mutation and returns checkoutUrl. Not needed when cartMode: 'shopify_ajax' lets the widget call Shopify’s /cart/add.js directly.

Request body

CartAdd
string
required
e.g. gid://shopify/ProductVariant/123
number
required
string

Response

CartAddResponse
string

Status codes