Skip to main content
POST
Create a cart for the signed-in member

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or an opaque member token. The credential alone identifies the member and company.

Body

application/json
country_code
string
required
Example:

"US"

items
object[]

Response

The created cart, bound to the member.

status
integer
required
data
object
required

One of the member's open carts with the lines shown to the shopper.

meta
object
required

Envelope metadata present on every response.