Skip to main content

Cancel a planned load (create a cancellation)

POST 

/loads/:loadId/cancellations

Moves a PLANNED load to CANCELLED and publishes LoadCancelled. Only a PLANNED load can be cancelled — a load already LOADING must be resolved instead (short-ship and close, or reopen later): the refusal is 409 load-state (ErrInvalidTransition). A SHIP_CONFIRMED load refuses with 409 load-confirmed. The load's state is checked before its packages: only a PLANNED load that already has packages assigned refuses with 409 load-has-packages (short-ship and close instead).

Request​

Responses​

The load is CANCELLED.

Response Headers
    Idempotency-Replayed

    True when this response was replayed from a stored idempotent execution (R5).