Skip to main content

Close a loading load (create a closure)

POST 

/loads/:loadId/closures

Moves a LOADING load to CLOSED and publishes LoadClosed with the package and short-shipped counts. A load closes only when every assigned package is loaded or short-shipped with a reason: any package still outstanding is 409 packages-outstanding (ErrPackagesOutstanding). Short-ships are recorded in the same command, each with its reason.

Request​

Responses​

The load is CLOSED.

Response Headers
    Idempotency-Replayed

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