GuideLab API

Cancel order

Cancels an order by setting its status to 'cancelled' and recording a status history entry. Labs can cancel any of their orders; clinics can only cancel orders in draft status.

DELETE
/orders/{id}

Cancels an order by setting its status to 'cancelled' and recording a status history entry. Labs can cancel any of their orders; clinics can only cancel orders in draft status.

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

Order ID

Response Body

application/json

curl -X DELETE "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000"
{  "message": "string"}
Empty
Empty
Empty
Empty