Get orders for a specific day
Returns a paginated list of orders whose due date or surgery date falls on a specific date, with full order details including phase summaries. Supports filtering by status and search. Used for the day detail view in the calendar.
Returns a paginated list of orders whose due date or surgery date falls on a specific date, with full order details including phase summaries. Supports filtering by status and search. Used for the day detail view in the calendar.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
Date (YYYY-MM-DD)
Comma-separated status filter
Search term
Page number (default: 1)
Items per page (default: 20, max: 100)
Response Body
application/json
curl -X GET "https://example.com/orders/calendar/day?date=2025-01-15"{ "data": [ null ], "pagination": { "page": 0, "limit": 0, "total": 0, "totalPages": 0 }}Get calendar data GET
Returns calendar events grouped by date for a given date range: one delivery event per order due date and one surgery event per order surgery date (an order whose surgery day is its due date yields only the surgery event). Excludes drafts and archived orders. Supports searching by order number, patient name, doctor, or partner org.
Get order components GET
Returns all components (e.g., implant components, materials with lot numbers) attached to an order. Accessible by both labs and clinics that have access to the order.