API docs Endpoints
Get the pickup of a shipment
See if a carrier pickup is scheduled for a shipment, and for when.
https://services.parcelparcel.com/partners-api/v1/shipments/{shipmentId}/pickupExample request
Get the pickup of a shipment
curl --request GET 'https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup' \
--header 'X-PP-API: {YourAPIKey}@{YourAPISecret}' \
--header 'Content-Type: application/json'const response = await fetch("https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup", {
method: "GET",
headers: {
"X-PP-API": "{YourAPIKey}@{YourAPISecret}",
"Content-Type": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.get(
"https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup",
headers={
"X-PP-API": "{YourAPIKey}@{YourAPISecret}",
"Content-Type": "application/json",
},
)
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 shows the pickup that is scheduled for a shipment: the date, the time window and the instructions for the driver. If no pickup is scheduled, pickup is null.
Replace {shipmentId} with the id that you got in the response when you created the shipment.
You can only see shipments of your own account. A shipment of another account gives the same 404 as an unknown id.
To add, change or cancel a pickup, see Schedule a pickup, Reschedule a pickup and Cancel a pickup.
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
This endpoint does not need a request body.
Response
The response body is a JSON object with the following elements:
| Name | Value | Comments |
|---|---|---|
shipmentId | (int) | The id of the shipment. |
pickup | (object | null) | The scheduled pickup. null if no pickup is scheduled. |
pickup.date | (string) | The pickup date. Format: YYYY-MM-DD. |
pickup.timeFrom | (string) | The start of the time window, for example 09:00. |
pickup.timeTo | (string) | The end of the time window, for example 17:00. |
pickup.instructions | (string | null) | Instructions for the driver, for example where to ring. |
Status codes
| Status code | Meaning |
|---|---|
| 200 OK | The response shows the pickup, or pickup is null if no pickup is scheduled. |
| 404 Not Found | We could not find the shipment in your account. Make sure that the shipmentId is correct. |
Examples
Don't know how to test these requests? Check our guide.
Request example - Get the pickup of a shipment
curl --location --request GET 'https://services.parcelparcel.com/partners-api/v1/shipments/1588448/pickup' \
--header 'X-PP-API: {YourAPIKey}@{YourAPISecret}' \
--header 'Content-Type: application/json'GET /partners-api/v1/shipments/1588448/pickup HTTP/1.1
Host: services.parcelparcel.com
X-PP-API: {YourAPIKey}@{YourAPISecret}
Content-Type: application/jsonDon't forget to change the X-PP-API element in the header, or this request will not work.
Response example - Pickup scheduled (200)
{
"shipmentId": 1588448,
"pickup": {
"date": "2026-12-01",
"timeFrom": "09:00",
"timeTo": "17:00",
"instructions": "Ring at the back door"
}
}Response example - No pickup scheduled (200)
{
"shipmentId": 1588448,
"pickup": null
}Response example - Shipment not found (404)
"Shipment not found"