/
Shipment cancellation
Shipment cancellation
Cancellation of a shipment.
On this page
Shipment Cancellation
In order to cancel a shipment within an organization, the user has to be its member. Additionally, the shipment has to be in created
or offers_prepared
status, otherwise an invalid_action
error will be returned.
DELETE /v1/shipments/:id
Example request
curl -X DELETE https://api-shipx-pl.easypack24.net/v1/shipments/1 -H 'Authorization: Bearer token' -H 'Content-Type: application/json'
Response
HTTP/1.1 204: No Content
Error information
invalid_action
- wrong shipment status
, multiple selections available,
Related content
Shipment
Shipment
More like this
Shipment search and sorting
Shipment search and sorting
Read with this
Creating a shipment in the simplified mode
Creating a shipment in the simplified mode
More like this
Shipment creation in offer mode
Shipment creation in offer mode
Read with this
Points (Parcel Locker, ParcelPoint)
Points (Parcel Locker, ParcelPoint)
More like this
Authorization / Query Collections
Authorization / Query Collections
Read with this