ParcelParcelAPI docs

API docs Endpoints

Get the pickup of a shipment

Markdown

See if a carrier pickup is scheduled for a shipment, and for when.

GEThttps://services.parcelparcel.com/partners-api/v1/shipments/{shipmentId}/pickup

Example 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'

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.

Add the following headers:

NameValue
Content-Typeapplication/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:

NameValueComments
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 codeMeaning
200 OKThe response shows the pickup, or pickup is null if no pickup is scheduled.
404 Not FoundWe 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'

Don't forget to change the X-PP-API element in the header, or this request will not work.

Response example - Pickup scheduled (200)

JSON
{
  "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)

JSON
{
  "shipmentId": 1588448,
  "pickup": null
}

Response example - Shipment not found (404)

JSON
"Shipment not found"