Upsert appointment requirement for a stop
Idempotent upsert of the order-level AppointmentRequirement for one stop (pickup or delivery). The full provided requirement replaces any prior value. Returns the merged effective requirement (place-level default + this order-level override) with a per-field provenance diagnostic.
Mutability: writes are accepted until the order reaches ACCEPTED. Writes against ACCEPTED+ orders return 409 order_accepted_appointment_locked.
Request
- Base URLhttps://api.oway.io
- URLhttps://api.oway.io/v1/shipper/shipment/{orderNumber}/appointment/{stop}
- AuthHTTP bearer and API key in header x-oway-api-key
Path parameters
Order number (PRO)
pickup | delivery
Query parameters
Set to true to override the post-acceptance mutability lock. Required together with the X-Oway-Change-Reason header.
Headers
Required when confirmChangeAfterAcceptance=true. Surfaces verbatim in the carrier-change notification email.
Request body
Example request
{
"channel": "PORTAL",
"portalUrl": "https://retaillink.example.com/scheduling",
"contacts": [
{
"name": "Maria Lopez",
"email": "maria@aqua.com",
"phone": "+15555550101",
"role": "Warehouse Manager"
}
],
"instructions": "Driver must check in at gate B. Lift gate required. Schedule via portal at least 24 hours in advance.",
"referenceNumbers": [
"81CRR",
"DOCK-12"
],
"leadTimeHours": 24
}Response
Appointment requirement upserted; body is the merged effective requirement.
Example response
{
"contacts": [
{
"name": "Maria Lopez",
"email": "maria@aqua.com",
"phone": "+15555550101",
"role": "Warehouse Manager"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.