Delete draft order
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.
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.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Draft order ID
Response Body
application/json
curl -X DELETE "https://example.com/orders/drafts/550e8400-e29b-41d4-a716-446655440000"{ "success": true}Report a problem with a delivered order POST
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.
Remove a line item from an existing order DELETE
Removes a line item from a draft order. Order items are frozen after submission.