Integration GuidesRecipesAPI Reference
Status MonitorWebsiteLog In
API Reference

Create Cart

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

The confirmation number of the checked out cart.

boolean
required

A flag denoting whether or not the retail customer opted into Croissant.

string
required

The time at which this cart was created by the retailer in ISO 8601 format.

string
required

The universally unique identifier of the cart.

string
enum
required

The source at which this cart came into the Croissant system.

Allowed:
string
required

The email of the retail customer and owner of the cart.

products
array of objects
required
length ≥ 1
products*
integer
required

The quantity of the given product in the cart.

integer
required

The price the product was sold for before any discounts were applied on the retailer site, in cents.

priceId
object

The optional identifier of the price that was returned for an eligible product. If not provided, the current price for the product will be used. It is encouraged to set this in the event priceIds are pre-fetched or cached client side for a better customer experience.

string
enum
required

The currency of the retail sale price.

Allowed:
string
required

The retailer-defined unique identifier for the product.

Responses

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