Report a problem with a delivered order
The order's clinic reports in the app (the channel is always `app`) while its partnership is active; lab staff log a report that reached them another way and name the channel. A clinic report notifies the lab's owners and admins. At most 50 reports per clinic per day.
The order's clinic reports in the app (the channel is always app) while its partnership is active; lab staff log a report that reached them another way and name the channel. A clinic report notifies the lab's owners and admins. At most 50 reports per clinic per day.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/orders/string/issues" \ -H "Content-Type: application/json" \ -d '{ "category": "breakage", "description": "string" }'{ "issue": { "id": "string", "orderId": "string", "orderItemId": "string", "channel": "app", "category": "breakage", "description": "string", "detectedOn": "string", "patientHarm": "none", "requestedAction": "repair", "status": "open", "resolution": "remake", "reply": "string", "rootCause": "prescription_impression", "investigation": "string", "correctiveAction": "string", "replacementOrderId": "string", "reportedByName": "string", "fileIds": [ "string" ], "closedAt": "string", "createdAt": "string", "updatedAt": "string" }}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}Put order on hold POST
Places an order on hold with a specified hold reason from the lab's configured reasons. Optionally creates file reupload requirements if the hold reason requires it. Only labs can put orders on hold. Sends a notification to the clinic.
Delete draft order DELETE
Permanently deletes a draft order and archives its clinical file records for durable retention cleanup. R2 objects remain tracked until the retention worker confirms deletion.