Carts
Update a Cart
Updates an existing cart. This endpoint can be used to modify the contents of a cart, such as adding or removing items, updating quantities, or changing the delivery address.
PATCH
/
carts
/
{cartId}
Authorizations
X-API-Key
string
headerrequiredPath Parameters
cartId
string
requiredThe ID of the cart to update.
Body
application/json
fulfilmentMethod
enum<string>
requiredThe method of order fulfillment (e.g., takeout, delivery).
Available options:
takeout
, table_side
, room_service
, delivery
, robot_delivery
, in_course_delivery
pickupType
enum<string>
requiredThe pickup type (ASAP or LATER for scheduled).
Available options:
ASAP
, LATER
orderTime
string
requiredThe desired order time (format: ISO 8601).
locationId
string
requiredThe ID of the location where the order will be placed.
items
object[]
requiredAn array of cart items.
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.