Cancel pickup

Cancels the scheduled pickup and returns the fee to the balance. The order and label remain.

POST /shipments/{id}/pickup/cancel

Parameters

NameTypeRequiredDescription
id string yes Order number or tracking number (in the address).

In the address {id} is the order number (field id from the response) or tracking number.

Important to know

Request example

curl -X POST https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/pickup/cancel \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"

Response example 200

JSON
{
    "data": {
        "id": "4f2a9c1e7b3d48a6c5e0f1d2b3",
        "reference": "ORDER-10452",
        "status": "label_ready",
        "carrier": "UPS",
        "service": "Express Saver",
        "tracking_number": "1Z999AA10123456784",
        "price_cents": 4120,
        "currency": "USD",
        "from": {
            "name": "Acme Store",
            "company": "Acme Inc",
            "line1": "350 5th Ave",
            "line2": "",
            "city": "New York",
            "state": "NY",
            "postal_code": "10001",
            "country": "US"
        },
        "to": {
            "name": "Anna Schmidt",
            "company": "",
            "line1": "Unter den Linden 1",
            "line2": "",
            "city": "Berlin",
            "state": "",
            "postal_code": "10117",
            "country": "DE"
        },
        "declared_value_cents": 5000,
        "chargeable_weight_g": 800,
        "label_available": true,
        "eta_from": "2026-12-10",
        "eta_to": "2026-12-12",
        "source": "api",
        "created_at": "2026-12-04T10:15:30+00:00",
        "delivered_at": null,
        "cancelled_at": null,
        "pickup": {
            "status": "cancelled",
            "date": "2026-12-08",
            "window_from": "09:00",
            "window_to": "18:00",
            "reference": "PU123456",
            "fee_cents": 0,
            "currency": "USD",
            "note": ""
        }
    }
}

Possible errors

HTTPCodeDescription
404not_foundObject not found among your account's objects (order, address, invoice, webhook, member, or team invitation), or the order has no active pickup, or the method does not exist. Objects belonging to others appear as non-existent.
409conflictAction is currently not possible for this order (e.g., order cannot be canceled or pickup already ordered). Reason text in error.message.
403insufficient_scopeKey lacks the required permission, specified in error.details.required_scope.
429rate_limitedKey request limit exceeded. Retry after the time specified in the Retry-After header.

Full list of error codes →