API Reference

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.

Log in to see full request history
Body Params
cart
array of numbers
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
Click Try It! to start a request and see the response here! Or choose an example:
application/json