Get order status history
Returns the complete status transition history for an order, plus the phase-change history, sourced from the unified orderActivity log.
Returns the complete status transition history for an order, plus the phase-change history, sourced from the unified orderActivity log.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Order ID
Response Body
application/json
curl -X GET "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/status-history"{ "statusHistory": [ { "id": "string", "fromStatus": "string", "toStatus": "string", "changedBy": "string", "changedByName": "string", "changedByActorKind": "system", "notes": "string", "createdAt": "string" } ], "phaseStepHistory": [ { "id": "string", "phaseName": "string", "fromPhase": "string", "toPhase": "string", "changedBy": "string", "changedByName": "string", "changedByActorKind": "system", "notes": "string", "createdAt": "string" } ]}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.
Get subscription status GET
Checks whether the authenticated user is subscribed to notifications for a specific order.