List Bookings
Mirrors the admin Sales → Bookings datagrid. Every booking column plus the linked order and orderItem summaries are populated on each row — the field set is identical to Booking Detail.
How this menu works
For what a booking row is, the booking sub-types, and the time-window fields, see the Bookings overview.
Endpoint
| Endpoint | Method |
|---|---|
/api/admin/bookings | GET |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
page, per_page | integer | Pagination (default 10, cap 50). |
id | string | Filter by booking id (int or comma-list). |
order_id | string | Partial order increment number. |
qty | integer | Exact quantity. |
product_id | integer | Filter by product id. |
from_from, from_to | date | Slot-start range. |
to_from, to_to | date | Slot-end range. |
created_at_from / _to | date | Order created range. |
sort | string | id, order_id, qty, from, to, created_at. |
order | string | asc, desc. |
from and to are emitted as both raw unix timestamps (from, to) and pre-formatted strings (fromFormatted, toFormatted). For non-time-based booking types they may be null.
Permission
sales.bookings.view

