Get an order's revision-aware QC state
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Length
1 <= lengthQuery Parameters
historyLimit?integer
Range
1 <= value <= 20Default
10Response Body
application/json
curl -X GET "https://example.com/orders/string/qc"{ "qcEnabled": true, "selectAllEnabled": true, "fulfillmentRevision": 0, "gatePassed": true, "checklist": [ { "id": "string", "name": "string", "sortOrder": 0 } ], "latestInspection": { "id": "string", "orderId": "string", "orderRevision": 0, "attemptNumber": 0, "outcome": "passed", "notes": "string", "completedByUserId": "string", "completedByName": "string", "completedAt": "string", "results": [ { "checklistItemId": "string", "itemName": "string", "passed": true, "notes": "string" } ] }, "history": [ { "id": "string", "orderId": "string", "orderRevision": 0, "attemptNumber": 0, "outcome": "passed", "notes": "string", "completedByUserId": "string", "completedByName": "string", "completedAt": "string", "results": [ { "checklistItemId": "string", "itemName": "string", "passed": true, "notes": "string" } ] } ]}Empty
Empty
Empty
Empty
Get order print data GET
Returns comprehensive order data formatted for document generation and printing, including lab/clinic addresses, line items with custom fields, patient details, and document settings (title, terms, footer). Patient data is masked for labs when hidePatientFromLab is enabled.
Get orders needing approval GET
Returns a paginated list of submitted orders awaiting lab approval, with line items, files, work tray assignments, and unread message counts. Lab only. Supports fuzzy search across order number, PAN number, doctor name, clinic name, and patient name.