Skip to main content
POST
This endpoint cancels a shipment and voids the shipping label. Refunds are processed automatically based on carrier policies.

Authentication

This endpoint requires a valid API key with shipments:write permissions.

Path Parameters

id
string
required
The unique identifier of the shipment to cancel

Request Body

reason
string
required
Cancellation reason: “order_cancelled”, “incorrect_address”, “changed_shipping_method”, “duplicate”, “other”
notes
string
Additional notes about the cancellation

Response

Returns the cancelled shipment with refund information.