Orders

Record a supplier delay

POST
/deliveries/{id}/delay

Record a supplier delay. Requires the MANAGER role.

Authorization

__Host-qm_session<token>

Session cookie set by sign-in on HTTPS deployments (the hosted demo).

In: cookie

Path Parameters

id*string

Resource id (UUID).

Formatuuid

Header Parameters

X-Requested-With*string

CSRF guard: must be quartermaster on every mutation.

Request Body

application/json

Move a delivery's expected date, with a reason.

Move a delivery's expected date, with a reason.

new_expected_date*string

New expected date (YYYY-MM-DD).

Match^\d{4}-\d{2}-\d{2}$
reason*string

Reason given by the person making the change.

Length1 <= length <= 255

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/deliveries/0f8fad5b-d9cb-469f-a165-70867728950e/delay" \  -H "X-Requested-With: quartermaster" \  -H "Content-Type: application/json" \  -d '{    "new_expected_date": "2026-11-15",    "reason": "Carrier delay"  }'
{  "delivery": {    "id": "string",    "purchase_order_id": "string",    "supplier_id": "string",    "status": "SCHEDULED",    "expected_date": "string",    "original_expected_date": "string",    "delivered_at": "string",    "delay_reason": "string",    "data_source": "SYNTHETIC"  }}