GuideLab Docs

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.

POST
/orders/{id}/issues

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.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string
Length1 <= length <= 200

Request 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"}