Investigate, answer, close or reopen a report
Lab only. `status: "closed"` needs a resolution and notifies the clinic; `status: "open"` reopens a closed report.
Lab only. status: "closed" needs a resolution and notifies the clinic; status: "open" reopens a closed report.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
1 <= length <= 2001 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/orders/string/issues/string" \ -H "Content-Type: application/json" \ -d '{}'{ "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"}Update order PATCH
Updates order fields such as patient, doctor, dates, notes, and assignment. Labs can update any accessible order; clinics can only update orders in draft status. Assigning a user triggers a notification and auto-subscribes them.
Update a line item on an existing order PATCH
Updates the configuration of an existing draft line item and re-resolves authoritative pricing. Price-affecting fields are frozen after submission.