Skip to main content
POST
Cancel a shipment

Authorizations

Authorization
string
header
required

API key as a bearer token. Secret keys (sk_) allow writes; publishable keys (pk_) are read-only. live = production, test = sandbox.

Path Parameters

shipmentId
string<uuid>
required

The shipment's unique id.

Body

application/json
reason
string

Response

Cancelled, with refund status.

The response is of type object.