Skip to content

List all order items with menu item details

Request

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

Security
OAuth2(Required scopes: orders:read)
Query
filterstringrequired

Selects the order whose items to return, using a single orderId:<value> pair (for example, orderId:ord_01h1s5z6vf2mm1mz3hevnn9va7).

This filter is required and only the orderId field is supported.

Example:filter=orderId:ord_01h1s5z6vf2mm1mz3hevnn9va7
curl -i -X GET \
  'https://cafe.redocly.com/_mock/openapi/cafe/order-items?filter=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful operation.

Bodyapplication/json
Array [
menuItemobject(MenuItem)read-only
quantityinteger, >= 1required

Quantity of the menu item.

discountinteger, >= 0

Discount amount in cents (absolute value).

Default:0
commentstring, <= 500 characters

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

]
Response
[ { "menuItem": {}, "quantity": 1, "discount": 0, "comment": "string" } ]