Pickup dates and windows
Available dates and time windows when the carrier's courier will pick up the parcel. The window ID is passed to the pickup order method.
GET /shipments/{id}/pickup_slots
- Key Permission:
labels:read - Key: test or live
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
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
- The list of dates is cached for several minutes. One order can be picked up only once; you cannot order a new pickup before canceling the existing one.
meta.fee_centsis the pickup fee for you in US dollars; 0 means free.
Request example
curl https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/pickup_slots \
-H "Authorization: Bearer $SHIPPICKUP_API_KEY"<?php
$ch = curl_init('https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/pickup_slots');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SHIPPICKUP_API_KEY'),
],
]);
$response = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
print_r([$status, $response]);
import os
import requests
r = requests.get(
"https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/pickup_slots",
headers={
"Authorization": "Bearer " + os.environ["SHIPPICKUP_API_KEY"],
},
timeout=30,
)
print(r.status_code, r.json())
const res = await fetch("https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/pickup_slots", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.SHIPPICKUP_API_KEY}`,
},
});
console.log(res.status, await res.json());
Response example 200
JSON
{
"data": [
{
"date": "2026-12-08",
"windows": [
{
"id": "<slot_id>",
"from": "09:00",
"to": "18:00"
}
]
}
],
"meta": {
"fee_cents": 0,
"currency": "USD"
}
}Possible errors
| HTTP | Code | Description |
|---|---|---|
| 409 | conflict | Action is currently not possible for this order (e.g., order cannot be canceled or pickup already ordered). Reason text in error.message. |
| 502 | provider_error | The carrier did not complete the operation. The money has been refunded automatically. |
| 403 | insufficient_scope | Key lacks the required permission, specified in error.details.required_scope. |
| 429 | rate_limited | Key request limit exceeded. Retry after the time specified in the Retry-After header. |