Get filter options for orders
Returns available filter options for the order list, including distinct doctor names, partner organizations (labs for clinics, clinics for labs), and patients (clinics only). Used to populate filter dropdowns in the UI. Each list is capped; `truncated` reports which lists were cut short so the UI can offer a search instead of a partial dropdown.
Returns available filter options for the order list, including distinct doctor names, partner organizations (labs for clinics, clinics for labs), and patients (clinics only). Used to populate filter dropdowns in the UI. Each list is capped; truncated reports which lists were cut short so the UI can offer a search instead of a partial dropdown.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Response Body
application/json
curl -X GET "https://example.com/orders/filter-options"{ "doctors": [ "string" ], "patients": [ { "id": "string", "firstName": "string", "lastName": "string" } ], "labs": [ { "id": "string", "name": "string" } ], "clinics": [ { "id": "string", "name": "string" } ], "truncated": { "doctors": true, "patients": true, "partners": true }}Get order files GET
Returns all files attached to an order along with product file requirements. Requirements define what file types each product expects (scans, photos, prescriptions, etc.) and their upload rules.
Get hold requirements for order GET
Returns the active hold and its file reupload requirements for an order. Accessible by both labs and clinics with access to the order. Returns null if no active hold exists.