Path Parameters
The unique identifier for the restaurant location
The unique identifier for the cart
Request Body
The product ID to add to the cart
The quantity of the item (must be non-negative)
Special preparation instructions for this item (optional)
The category ID (MongoDB ObjectId format, optional)
Action to take if item becomes unavailable
Options:
Options:
remove_item
| cancel_entire_order
Array of selected modifier groups and options (can be empty array for products without modifiers)
Authorizations
Path Parameters
The unique identifier for the restaurant location
The unique identifier for the cart
Body
application/json
The product ID to add to the cart
The quantity of the item (must be non-negative)
Action to take if item becomes unavailable
Available options:
remove_item
, cancel_entire_order
Array of selected modifier groups and options (can be empty array for products without modifiers)
Special preparation instructions for this item (can be empty string)
The category ID (MongoDB ObjectId format, optional)
Response
Item added successfully.
The unique identifier of the cart that was updated