Supply agents

Supplier agent reports a delivery delay (signed DELIVERY_UPDATE; reschedules the timeline)

POST
/api/v1/purchase-orders/{order_id}/delivery-delay

Plays the supplier's side of the protocol: its agent sends a signed DELIVERY_UPDATE (status DELAYED), the PO's expected date moves, and the Gantt redraws the delivery and the PayPal payment that waits on it - in red, with the original plan underneath.

Authorization

HTTPBearer
AuthorizationBearer <token>

JWT access token

In: header

Path Parameters

order_id*string
Formatuuid

Query Parameters

merchant_id?|

Optional merchant to act on. Must be one you are a member of.

Formatuuid

Header Parameters

X-Merchant-ID?string|null

Request Body

application/json

days?integer
Range1 <= value <= 30
Default3
reason?string
Lengthlength <= 240
Default""

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/purchase-orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/delivery-delay" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {},  "meta": {},  "success": true}