API docs Endpoints
Schedule a pickup
Let the carrier pick up a booked shipment on a date and time you choose.
https://services.parcelparcel.com/partners-api/v1/shipments/{shipmentId}/pickupExample request
Schedule a pickup on 1 December
curl --request POST 'https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup' \
--header 'X-PP-API: {YourAPIKey}@{YourAPISecret}' \
--header 'Content-Type: application/json' \
--data '{
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}'{
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}const response = await fetch("https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup", {
method: "POST",
headers: {
"X-PP-API": "{YourAPIKey}@{YourAPISecret}",
"Content-Type": "application/json",
},
body: JSON.stringify({
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}),
});
const data = await response.json();
console.log(data);import requests
response = requests.post(
"https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup",
headers={
"X-PP-API": "{YourAPIKey}@{YourAPISecret}",
"Content-Type": "application/json",
},
json={
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door",
},
)
print(response.json())Tip: copy the cURL and paste it in Postman under Import, or straight into the URL bar of a new request. Postman fills in the method, headers and body for you. Replace {YourAPIKey}@{YourAPISecret} with your own API key and secret (use your sandbox key while testing), or import the whole Postman Collection.
This endpoint asks the carrier to pick up a shipment at the pickup address. Use it when you booked a shipment without a pickup and want the carrier to come after all.
Replace {shipmentId} with the id that you got in the response when you created the shipment.
- Get the available dates and times first with Get the available pickup times. The date and times you send must be one of these slots.
- This works only while the carrier has not picked up the parcel.
- A shipment has one pickup. Already scheduled one? Use Reschedule a pickup to change it.
- You can only use shipments of your own account. A shipment of another account gives the same
404as an unknown id.
Want a pickup when you create the shipment? Use schedulePickup in Create a (draft) shipment instead.
Header
Add the following headers:
| Name | Value |
|---|---|
Content-Type | application/json |
X-PP-API | {YourAPIKey}@{YourAPISecret} |
Don't have an API Key and API Secret yet? Check our Authentication page to see how to get them in under a minute.
Body
The request body is a JSON object with the following elements:
| Name | Value | Required | Comments |
|---|---|---|---|
date | (string) YYYY-MM-DD | required | A date from the available pickup times, for example "2026-12-01". |
timeFrom | (string) HH:MM | required | A from time of that date, for example "09:00". |
timeTo | (string) HH:MM | required | One of the to times that belong to that from time, for example "17:00". |
instructions | (string) | optional | Instructions for the driver, for example "Ring at the back door". At most 255 characters. |
All times are in the time zone of the available pickup times (timezone, for example Europe/Amsterdam).
Response
The response body is a JSON object with the following elements:
| Name | Value | Comments |
|---|---|---|
shipmentId | (int) | The id of the shipment. |
pickup | (object) | The pickup: date, timeFrom, timeTo and instructions. The same as in Get the pickup of a shipment. |
carrierStatus | (string) | How the carrier handled the request. See the values below. |
message | (string) | Tells you the result in plain English. |
Carrier status values
| Value | Meaning |
|---|---|
confirmed | The carrier confirmed the pickup through its system. |
requested | We sent your request to the carrier by email. The carrier has not confirmed it yet. |
not_supported | We saved the pickup, but this carrier does not take pickup changes through ParcelParcel. Contact support. |
sandbox | You used your sandbox key: we saved the pickup, but never sent it to the carrier. |
Errors
Every error is a JSON object with error (a fixed code) and message (what went wrong, in plain English). Only the 404 is a plain string, the same as in the other shipment endpoints.
| error | Status | Meaning |
|---|---|---|
invalid_pickup | 400 | The request is not valid. errors has one entry per wrong field, with field and message. |
conflict | 409 | The pickup cannot be changed in the current state of the shipment. message tells you why. |
carrier_rejected | 422 | The carrier refused. message is the carrier's reason. Nothing changed. |
carrier_unavailable | 502 | We could not reach the carrier. Nothing changed: try again later. |
internal_error | 500 | Something went wrong on our side. See General information. |
Status codes
| Status code | Meaning |
|---|---|
| 200 OK | The pickup is scheduled. Check carrierStatus. |
| 400 Bad Request | The body is not valid: a field is missing or has the wrong format, the date is in the past, or the date and times are not one of the available pickup times. See errors. |
| 404 Not Found | We could not find the shipment in your account. Make sure that the shipmentId is correct. |
| 409 Conflict | The shipment already has a pickup (use Reschedule a pickup), the carrier already has the parcel, or no pickup can be planned for this shipment. See message. |
| 422 Unprocessable Entity | The carrier refused the pickup. Nothing changed. Read message for the reason. |
| 502 Bad Gateway | We could not reach the carrier. Nothing changed: try again later. |
409 messages you can get:
- The shipment already has a pickup. Use reschedule to change it.
- The carrier already has the parcel, so the pickup can no longer be changed.
- The shipment is cancelled.
- The shipment has no contract, so no pickup can be planned.
- The shipment has no pickup address, so no pickup can be planned.
Examples
Don't know how to test these requests? Check our guide.
Request example - Schedule a pickup on 1 December
curl --location --request POST 'https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup' \
--header 'X-PP-API: {YourAPIKey}@{YourAPISecret}' \
--header 'Content-Type: application/json' \
--data-raw '{
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}'POST /partners-api/v1/shipments/1588448/pickup HTTP/1.1
Host: services.parcelparcel.com
X-PP-API: {YourAPIKey}@{YourAPISecret}
Content-Type: application/json
{
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}{
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}Don't forget to change the X-PP-API element in the header, or this request will not work.
Response example - Pickup confirmed by the carrier (200)
{
"shipmentId": 1588448,
"pickup": {
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
},
"carrierStatus": "confirmed",
"message": "The carrier confirmed the pickup."
}Response example - Pickup saved with a sandbox key (200)
{
"shipmentId": 1588448,
"pickup": {
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
},
"carrierStatus": "sandbox",
"message": "Sandbox shipment: the pickup is saved but not sent to the carrier."
}Response example - Time not in the available pickup times (400)
{
"error": "invalid_pickup",
"message": "The pickup is not valid.",
"errors": [
{
"field": "timeFrom",
"message": "2026-12-01 07:00-17:00 is not an available pickup time. Use the pickup slots of the shipment."
}
]
}Response example - Shipment already has a pickup (409)
{
"error": "conflict",
"message": "The shipment already has a pickup. Use reschedule to change it."
}Response example - Carrier refused the pickup (422)
{
"error": "carrier_rejected",
"message": "The carrier cannot pick up at this address on the chosen date."
}Response example - Carrier not reachable (502)
{
"error": "carrier_unavailable",
"message": "The carrier could not be reached. Nothing was changed; try again later."
}Response example - Shipment not found (404)
"Shipment not found"