v1

latestOpenAPI 3.0.02026-07-226950132.6 KB
cart-items

Update cart item

Updates the quantity or other properties of a specific item in the customer's cart. By default returns the updated cart contents. Set return_status=true to get a status message with quantity info.

post/cart/item/{item_key}

Path parameters

item_keystring required

Unique identifier for the cart item.

Request body

quantitystring required

Quantity of this item to update to.

return_statusboolean

Returns a message and quantity value after updating item in cart.

Response

Cart item updated successfully.

OR

Example response

{
  "message": "Quantity for Product Name has been updated.",
  "quantity": 3
}