Skip to main content

Unload a package back to staging (create an unloading)

POST 

/packages/:packageId/unloadings

Moves a LOADED package back to STAGED and publishes PackageUnloaded with the operator's reason. Unloading is only possible before the load is ship-confirmed: once the package is SHIPPED it refuses with 409 already-shipped (ErrAlreadyShipped) — the truck has left.

Request​

Responses​

The package is STAGED again.

Response Headers
    Idempotency-Replayed

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