List orders
/v1/orders Scope: orders:readReturns orders for the authenticated restaurant, newest first. Combine cursor pagination, status / type filters and date ranges to slice the history.
Query parameters
limitintegerOptionalPage size, default 10, max 100.
starting_afterstringOptionalCursor from a previous response. Returns items older than this cursor.
ending_beforestringOptionalCursor from a previous response. Returns items newer than this cursor.
statusstringOptionalFilter by status.
draftplacedpreparingreadyservedcompletedcancelledtypestringOptionalFilter by order type.
dine_intakeoutdeliverytablestringOptionalFilter to a specific table id (tbl_…).
created.gteinteger (unix)OptionalOnly return orders created at or after this timestamp.
created.lteinteger (unix)OptionalOnly return orders created at or before this timestamp.
expandstring[]OptionalInline references. Supported: table, server, items.menu_item.
Request
curl 'https://api.tablezio.com/v1/orders?limit=2&status=placed' \
-H 'X-API-Key: tbz_…'Response
{
"object": "list",
"data": [ /* order objects */ ],
"has_more": true,
"next_cursor": "v1:5a1b2c…:1716657480000",
"previous_cursor": null,
"url": "/v1/orders"
}