Cancel a package that has not been converted to a shipment
Cancel a package that has not been converted to a shipment (i.e. it has no shipment_id).
Cancelling is a soft action: the package stays retrievable with status set to cancelled (see cancelled_at). Once attached to a shipment, a package can no longer be cancelled.
Authentication
X-Api-Keystring
API Key authentication via header
Path parameters
id
Parcel token
Request
This endpoint expects an object.
comment
Optional free-text reason for the cancellation.
Response
OK — package cancelled
parcel_id
parcel_number
customer_identifier
status
trade_direction
quantity
declared_weight
actual_weight
length
width
height
volume
mode
hold_instruction
hold_released_at
warehouse_arrived_at
cancelled_at
Set when the parcel is cancelled. A parcel cannot be cancelled once it has been converted to a shipment.
storage_fee
notices
origin_country
destination_country
created_at
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error