PATCH
/
carts
/
{cartId}

Authorizations

X-API-Key
string
header
required

Path Parameters

cartId
string
required

The ID of the cart to update.

Body

application/json
fulfilmentMethod
enum<string>
required

The method of order fulfillment (e.g., takeout, delivery).

Available options:
takeout,
table_side,
room_service,
delivery,
robot_delivery,
in_course_delivery
items
object[]
required

An array of cart items.

locationId
string
required

The ID of the location where the order will be placed.

orderTime
string
required

The desired order time (format: ISO 8601).

pickupType
enum<string>
required

The pickup type (ASAP or LATER for scheduled).

Available options:
ASAP,
LATER

Response

200 - application/json
id
string

The unique ID of the cart.

items
object[]

An array of cart items with details.

orderTotal
string

The final order total.

subTotal
string

The subtotal of the cart (before taxes and fees).

taxTotal
string

The total tax amount.

totalQuantity
integer

The total quantity of items in the cart.