Cancel the delivery of the specified parcels.

Cancels an in-progress delivery for the given parcels, when cancellation is still permitted. Delivery cannot be cancelled once the parcel has been picked up. Cancellation is allowed in the following states: qualifiedforpickup, onroutetopickup, and pickingup. Please note that cancellation may incur costs.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
parcel_ids
array of uuids
required

List of parcels to be cancelled

parcel_ids*
Responses
202

Cancellation request accepted and is being processed.

401

Unauthorized. Missing or invalid authentication token.

404

One or more parcels were not found.

409

One or more parcels cannot be cancelled due to their current state. Cancellation is only allowed in the qualifiedforpickup, onroutetopickup, or pickingup states.

429

Too many requests. This API is rate limited per account and per endpoint. A 429 is an expected condition rather than a failed request: back off and retry it. The limits are not the same for every endpoint and can change, so handle the status instead of hard-coding a rate. See the Limits and reliability guide.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!