Carts
Create a Cart
Creates a new cart for a customer. This endpoint requires cart data including items, fulfillment method, location, and other details as specified in the request body.
POST
Authorizations
Body
application/json
The method of order fulfillment (e.g., takeout, delivery).
Available options:
takeout
, table_side
, room_service
, delivery
, robot_delivery
, in_course_delivery
An array of cart items.
The ID of the location where the order will be placed.
The desired order time (format: ISO 8601).
The pickup type (ASAP or LATER for scheduled).
Available options:
ASAP
, LATER
Response
201 - application/json
The unique ID of the cart.
An array of cart items with details.
The final order total.
The subtotal of the cart (before taxes and fees).
The total tax amount.
The total quantity of items in the cart.