Skip to main content
POST
Attach one or more appointments to this shipment. Idempotent — appointments already linked are silently skipped. The mutation rule (per appointment) is: the link can be created when EITHER
  • the appointment is past blood-draw (blood_drawn), or
  • the shipment was created less than 24 hours ago.
Outside that window the call is rejected with 409 Conflict so historical records stay stable. The same rule gates Detach Appointments from Shipment and the inverse appointment-side endpoints, so partners don’t have to reason about direction.

Request

Path parameters

string
required
Shipment reference ID (e.g., P2604154821).

Body parameters

string[]
required
Array of appointment UUIDs to attach. Must contain at least one item.

Response

On success, the API returns 200 OK with the full appointment list for the shipment, oldest-link first. Each entry has the same shape as Get Appointment. Mirror of Attach Shipments to Appointment, which returns the post-mutation shipment list for the parent appointment.

Error responses