Page tree
Skip to end of metadata
Go to start of metadata

Warning!

Resource available only in the following countries: PL, IT

Cancellation of a shipment.


On this page

 

Authentication

Access to the resource requires a valid access token.




Shipment Cancellation

(info) In order to cancel a shipment within an organisation 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



  • No labels