post
https://stagingstores.xoxoday.com/chef/v1/oauth/api
Add products to a cart or update the quantity/denomination of existing items. Creates a cart when no cartId is supplied.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request Schema
| Parameter | Type | Description |
|---|---|---|
| cartId | String | Existing cart ID. Omit or leave empty to create a new cart. |
| products | Array of Object | Line items to add or update. |
| products[].productId | Int | Product identifier from Get Vouchers API. |
| products[].quantity | String | Number of units. Pass "0" to remove the line item. |
| products[].denomination | String | Face value of the product; must match a valid denomination. |
Response Schema
| Path | Type | Description |
|---|---|---|
| data | object | Root response object. |
| data.addOrUpdateItemToCart | object | Container for the add/update result. |
| data.addOrUpdateItemToCart.status | number | API execution status (1 = success). |
| data.addOrUpdateItemToCart.message | string | Human-readable result message. |
Implementation Notes
- Use Get Vouchers API to obtain valid
productIdanddenominationvalues. - Pass
quantity"0" to remove a product from the cart. - Omit
cartIdto create a new cart; the created cart's ID is returned for subsequent calls. - The success envelope shown is representative; confirm the exact payload against a live response.

