cURL
curl --request PATCH \ --url https://api.atlas.kitchen/storefronts/v1/cart/items/{id} \ --header 'Content-Type: application/json' \ --header 'X-Channel-Id: <api-key>' \ --data ' { "quantity": 2, "notes": "<string>" } '
{ "id": 123, "item_id": 123, "name": "<string>", "quantity": 123, "price_cents": 123, "calculated_subtotal": 123, "per_unit_quantity": 123, "unit_label": "<string>", "notes": "<string>", "modifier_id": 123, "item_modifier_group_id": 123, "sub_items": [ { "item_id": 123, "name": "<string>", "quantity": 123, "price_cents": 123, "calculated_subtotal": 123, "per_unit_quantity": 123, "unit_label": "<string>", "notes": "<string>", "modifier_id": 123, "item_modifier_group_id": 123, "sub_items": "<array>" } ] }
Update quantity or notes. Cannot set quantity to 0 — use DELETE instead.
Channel identifier. A second header X-Session-Id is also required.
X-Session-Id
Cannot be 0. Use DELETE to remove.
x >= 1
Updated cart item
Show child attributes
Was this page helpful?