Admin Sales: Bookings
List bookings (datagrid parity)
Paginated bookings listing mirroring the admin Sales → Bookings datagrid. Every booking column plus the linked order / order-item summary is populated on each row. Returns a { data, meta } envelope. Requires sales.bookings permission.
get/bookings
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Page number.
per_pageinteger
Items per page (default 10, max 50).
idstring
Filter by booking id (integer or comma-list).
order_idstring
Partial order increment_id.
qtyinteger
Exact quantity.
product_idinteger
Filter by product id.
from_fromstring date
Slot start >= (ISO date).
from_tostring date
Slot start <= (ISO date).
to_fromstring date
Slot end >= (ISO date).
to_tostring date
Slot end <= (ISO date).
created_at_fromstring date
Order created after.
created_at_tostring date
Order created before.
sort'id' | 'order_id' | 'qty' | 'from' | 'to' | 'created_at'
Sort column.
order'asc' | 'desc'
Sort direction.
Response
Paginated bookings in the { data, meta } envelope.
Changes
No recorded changes to this operation across all 8 revisions of this API.