Cancel a scheduled pickup

Cancels a pickup the carrier has already accepted. The labels stay valid — only the collection is called off.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Carrier that holds the pickup.

string
required

The carrier's confirmation number for the pickup, returned by POST /ship/pickup/. Not the id in our response — carriers identify a pickup by their own reference.

string
required

Country the pickup was scheduled in.

Responses
200

The result of the cancellation.

A 200 does not mean it worked. This API reports most failures inside the body, as "meta": "error" with an error.code. A client that branches only on the HTTP status reads a failure as a success. Check meta first — see Errors — Shipping API.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/html