Lotus
Type to search documentation.
Orders

List all order items with menu item details

Returns an array of order items for a specific order. Use the filter parameter to filter by order ID.

get/order-items

Security

This operation accepts the following authorization requirements.

Required credentials

One credential is required.
OAuth2oauth2

OAuth2 authorization for API access.

orders:read

Request

Query parameters

filterstringrequired

Filters the collection items using space-separated field:value pairs.

Format: field1:value1 field2:value2

Supported operators:

  • field:value - Exact match
  • field:value1,value2 - Match any of the comma-separated values (OR)
  • Time ranges: Use 30d (30 days), 7d (7 days), 1h (1 hour), etc.

Examples:

  • status:placed - Filter by single status.
  • status:placed,completed - Filter by multiple statuses.
  • createdAt:30d - Filter orders created in the last 30 days.
  • orderId:ord_01h1s5z6vf2mm1mz3hevnn9va7 - Filter by specific order ID.
  • status:placed createdAt:7d - Combine multiple filters.

Response

Successful operation.

bodyobject[]

List of menu items that are part of the order.

Item properties (5)
menuItemIdstringrequired

ID of the menu item to add to the order.

menuItemone of

Menu item that is part of the order.

Options (2)
Option 1unknown
Option 2unknown
quantityintegerrequired

Quantity of the menu item.

discountinteger

Discount amount in cents (absolute value).

commentstring

Optional comment for the order item (e.g., “No sugar”).