POST
/
cart
/
{cartId}
/
cart-item

Authorizations

X-API-Key
string
header
required

Path Parameters

cartId
string
required

The ID of the cart to add the item to.

Body

application/json
productId
string
required

The unique ID of the product.

quantity
integer
required

The quantity of the product in the cart.

options
object[]

An array of selected modifier options for the product (if applicable).

specialInstructions
string

Any special instructions for this cart item.

Response

200 - application/json
id
string

The unique ID of the cart.

items
object[]

An array of cart items with details.

orderTotal
string

The final order total.

subTotal
string

The subtotal of the cart (before taxes and fees).

taxTotal
string

The total tax amount.

totalQuantity
integer

The total quantity of items in the cart.