Skip to main content
Use this endpoint to cancel a scheduled pickup before the courier arrives. Cancellation eligibility depends on the pickup’s current status — if the pickup has progressed past a cancellable state, the API returns an error with the current status in the response details. You receive the pickupNumber in the response of POST /pickups.
If you want to permanently remove a pickup that is still in new or pendingPickup status, use DELETE /pickups/{pickupNumber} instead.

Authentication

All requests require a valid API key. Company account keys must also include the X-Merchant-Id header.
X-Merchant-Id accepts your businessAccountCode (8-digit), externalMerchantId, or MongoDB _id. Single-business keys do not require this header.

Path parameter

string
required
The 6-digit pickup number returned when the pickup was created (e.g. 482917).

Request body

This endpoint does not require a request body.

Example request

Response

A successful cancellation returns HTTP 200.
boolean
true on success.
object
Confirmation details, including the updated pickup status.

Error responses

Example error — not cancellable

Before cancelling, call GET /pickups/{pickupNumber} to confirm the current status. If the pickup is still in new or pendingPickup and you want to remove it entirely, DELETE /pickups/{pickupNumber} is the cleaner option.