# Reschedule a pickup

> Change the date, time or instructions of a scheduled pickup.

`PUT https://services.parcelparcel.com/partners-api/v1/shipments/{shipmentId}/pickup`

This endpoint changes the pickup of a shipment: a new date, a new time window or new instructions for the driver. We send the change to the carrier.

Replace `{shipmentId}` with the `id` that you got in the response when you [created the shipment](https://www.parcelparcel.com/api-docs/create-shipment/).

* The shipment must already have a pickup. No pickup yet? Use [Schedule a pickup](https://www.parcelparcel.com/api-docs/schedule-pickup/).
* Get the available dates and times first with [Get the available pickup times](https://www.parcelparcel.com/api-docs/pickup-slots/). The date and times you send must be one of these slots.
* This works only while the carrier has not picked up the parcel.
* You can only use shipments of your own account. A shipment of another account gives the same `404` as an unknown id.

## 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](https://www.parcelparcel.com/api-docs/authentication/) page to see how to get them in under a minute.

## Body

The body is the full new pickup, the same as in [Schedule a pickup](https://www.parcelparcel.com/api-docs/schedule-pickup/#body): `date`, `timeFrom` and `timeTo` (required) and `instructions` (optional).

## Response

The response is the same as in [Schedule a pickup](https://www.parcelparcel.com/api-docs/schedule-pickup/#response): `shipmentId`, the new `pickup`, `carrierStatus` and `message`. Errors have the same format too: see [Errors](https://www.parcelparcel.com/api-docs/schedule-pickup/#errors).

A reschedule cancels the old pickup at the carrier and books the new one. If one of the two goes by email, `carrierStatus` is `requested`.

### Status codes

| Status code              | Meaning                                                                                                                                       |
| :----------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------- |
| 200 OK                   | The pickup is changed. 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 has no pickup to change (use [Schedule a pickup](https://www.parcelparcel.com/api-docs/schedule-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 change. Nothing changed: the old pickup still stands. 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 has no pickup. Use schedule to book one.*
* *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](https://www.parcelparcel.com/api-docs/postman-guide/).

### Request example - Move the pickup to the afternoon of 2 December

```bash cURL
curl --location --request PUT '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-02",
  "timeFrom": "13:00",
  "timeTo": "17:00",
  "instructions": "Ring at the back door"
}'
```
```http HTTP
PUT /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-02",
  "timeFrom": "13: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 changed, request sent by email (200)

```json
{
  "shipmentId": 1588448,
  "pickup": {
    "date": "2026-12-02",
    "timeFrom": "13:00",
    "timeTo": "17:00",
    "instructions": "Ring at the back door"
  },
  "carrierStatus": "requested",
  "message": "We sent the pickup request to the carrier by email. The carrier has not confirmed it yet."
}
```

### Response example - No pickup to change (409)

```json
{
  "error": "conflict",
  "message": "The shipment has no pickup. Use schedule to book one."
}
```

### Response example - Carrier refused the change (422)

```json
{
  "error": "carrier_rejected",
  "message": "The carrier cannot pick up at this address on the chosen date."
}
```

### Response example - Carrier not reachable (502)

```json
{
  "error": "carrier_unavailable",
  "message": "The carrier could not be reached. Nothing was changed; try again later."
}
```

### Response example - Shipment not found (404)

```json
"Shipment not found"
```
