Skip to content

Deletes a shipment (delivered files stay in the warehouse unless files=true)

DELETE/packages/{id}

Requires: Cookie fret_session / Bearer

Path parameters

  • idintegerrequired

Query parameters

  • filesboolean

    true also deletes what the shipment put in the warehouse: its delivered parcels and what their unpacking placed (parcels "already in the warehouse" belong to another shipment and are kept); folders left empty are removed. Refused (409) while a parcel is moving.

Responses

204Deleted
409Errorobject
  • errorobject
    Fields · 2
    • codestring
    • messagestring
Built with Kiln