Create Cart

Create a cart object and populate it with one or more product variants.

🚧

Create Cart Object

When setting up Shop Now: On-Store for a headless store, be sure to create a base 64-encoded liquid cart object and send it to Loop.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
cart
array of objects
required

An array of product variants.

cart*
string

A Base64-encoded liquid cart object, used to reflect any additional transaction details in Shopify such as discounts.

Responses

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