Appointments
Detach Shipments from Appointment
Remove one or more shipments from an appointment
DELETE
Remove one or more shipments from this appointment. Silently ignores shipments that are not
currently linked. Mirror of Detach Appointments from
Shipment.
Same mutation rule as attach: the link can be removed when EITHER the appointment is past
blood-draw, or the shipment was created less than 24 hours ago.
Request
Path parameters
Appointment UUID.
Body parameters
Array of shipment reference IDs to detach. Must contain at least one item.
Response
On success, the API returns200 OK with the full shipment list for the appointment, ordered
newest-first by creation. Each entry has the same shape as Get
Shipment.
Error responses
| Status | Description |
|---|---|
400 | Validation error — e.g., empty shipment_ids or malformed reference. |
403 | Forbidden — missing scope, appointment outside access context, or shipment outside access context. |
404 | Appointment not found, or one or more shipments not found. |
409 | Mutation rule failed — appointment not past blood-draw and at least one shipment is older than 24 hours. Response lists the IDs. |
500 | Internal server error. |