Carts
Update Cart Item
Updates an item in an existing cart. This endpoint can be used to modify the quantity or options of an item in the cart.
PUT
/
cart
/
{cartId}
/
cart-item
Authorizations
X-API-Key
string
headerrequiredPath Parameters
cartId
string
requiredThe ID of the cart containing the item.
Body
application/json
productId
string
requiredThe unique ID of the product.
quantity
integer
requiredThe 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.
totalQuantity
integer
The total quantity of items in the cart.
subTotal
string
The subtotal of the cart (before taxes and fees).
taxTotal
string
The total tax amount.
orderTotal
string
The final order total.
items
object[]
An array of cart items with details.