parsel

Cancel shipment

PUT/shipments/{shipment_id}/cancel

Cancel a shipment if no shipping rate has been purchased or its shipping label is not yet in_transit.

Headers

AuthorizationRequired
Bearer authentication of the form Bearer <token>, where token is your auth token

Path parameters

shipment_idstringRequired
Shipment ID

Example Request

curl -X PUT https://api.parsel.app/shipments/123e4567-e89b-12d3-a456-426614174000/cancel
  -H "Authorization: Bearer <bearer_token>"

Response