Admin Sales: Bookings
Bookings calendar
Changed onReturns every booking whose slot overlaps the window, unpaginated, the way the admin bookings calendar view loads them. The window defaults to the current week. Slot times are formatted in the store timezone and each booking carries the attributes stored on its order item.
get/bookings/calendar
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
startstring date
Example:2026-10-12
Window start (Y-m-d). Defaults to the start of the current week.
endstring date
Example:2026-10-18
Window end (Y-m-d), inclusive. Defaults to the end of the current week.
Response
The bookings in the window.
Changes
- info
endpoint added
- info