/
Shipment cancellation

Shipment cancellation



Cancellation of a shipment.


Authentication

Access to the resource requires a valid access token.




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

 

 



Related content

Anulowanie przesyłki
Anulowanie przesyłki
More like this
Shipment search and sorting
Shipment search and sorting
Read with this
Shipment edit
More like this
Shipment
Read with this
Bulk Shipment payment
Bulk Shipment payment
More like this
Shipment creation in offer mode
Shipment creation in offer mode
Read with this