Skip to main content
Skip to main content

Record Tracking Event

POST 

/suppliers/shipments/:shipment_id/events

Adds a tracking event by hand, e.g. a status read off the carrier's site. The shipment moves to the status the event implies (see code), and takes its estimated_delivery_at if it carries one. Events can't be edited or deleted: to correct one, record a newer event.

Only allowed once the shipment is dispatched, and not on a cancelled shipment. Returns 422 if the shipment can't move to the implied status (e.g. a delivered shipment back to in transit), or if a newer event has already set its status. A carrier delivered event is not a goods receipt.

Needs the shipments-update-as-supplier permission. Returns the updated shipment.

Request​

Responses​

Success