Pickups endpoint allows you to schedule pickups with USPS, DHL Express, UPS and FedEx carriers for eligible shipments. The pickup schedule scope is determined by what you provide in the request:
- If pickupSummary is provided: a pickup is scheduled for the packages described in the summary.
- If shipmentIds are provided: a pickup is scheduled for the specified shipments.
- If both pickupSummary and shipmentIds are provided: a pickup is scheduled for all shipments including by both inputs.
- If neither is provided: a pickup is scheduled for all shipments created on the given carrier account by that time of the day.
- carrierAccountId handling:
carrierAccountIdis required to schedule a pickup. Either providecarrierAccountIdin the request payload, or provideX-PB-LocationIdwith a location that has only one carrier account configured for the selected carrier.
Note: The sender's first name and last name are required for USPS. For example:
"name": "John Doe"
The X-PB-LocationId header identifies the enterprise, division, or partner location under which a shipment is processed and billed. If this header is not provided, the system automatically uses the enterprise-level location that was created during developer account onboarding. This default location is then used for shipment processing, carrier selection, and billing.
Selection Rules
If
X-PB-LocationIdis provided and the location has one carrier with one account:carrieris optionalcarrierAccountIdis optional- The available carrier account is selected and the manifest is created.
If
X-PB-LocationIdis not provided and the default location has one carrier with one account:carrieris optionalcarrierAccountIdis optional- The available carrier account is selected and the manifest is created.
If
X-PB-LocationIdis provided and the location has one carrier with multiple accounts:carrieris optionalcarrierAccountIdis required- The specified
carrierAccountIdis selected and the manifest is created.
If
X-PB-LocationIdis not provided and the default location has one carrier with multiple accounts:carrieris optionalcarrierAccountIdis required- The specified
carrierAccountIdis selected and the manifest is created.
If
X-PB-LocationIdis provided and the location has multiple carriers with one account each:carrieris requiredcarrierAccountIdis optional- The specified
carrierand its associated account are selected and the manifest is created.
If
X-PB-LocationIdis not provided and the default location has multiple carriers with one account each:carrieris requiredcarrierAccountIdis optional- The specified
carrierand its associated account are selected and the manifest is created.
If
X-PB-LocationIdis provided and the location has multiple carriers with multiple accounts:carrieris optionalcarrierAccountIdis required- The specified
carrierAccountIdis selected and the manifest is created.
If
X-PB-LocationIdis not provided and the default location has multiple carriers with multiple accounts:carrieris optionalcarrierAccountIdis required- The specified
carrierAccountIdis selected and the manifest is created.
The location where the parcel will be available for pickup at the specified pickup address.
The unique identifier of the carrier account being used to process the pickup.
{ "name": "Test", "addressLine1": "27 Waterview Dr", "cityTown": "Shelton", "stateProvince": "CT", "postalCode": "06484-4301", "countryCode": "US", "phone": "1234567890", "company": "PB", "email": "ankita.chaurasia@pb.com" }
An array of the pickup details, including the number of packages, total weight, and carrier service information and package details.
[ { "serviceId": "NDA", "packageCount": 1, "totalWeight": 15, "weightUnit": "OZ", "packageDetails": [ { … } ], "currencyCode": "USD", "totalCustomsDeclaredValue": 5 } ]
Additional instructions or notes for the carrier regarding the pickup.
List of shipment IDs for which pickup needs to be scheduled.
[ "DHLEXP2201736600235437", "DHLEXP2201736600264906" ]
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/pickups
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/shipping/api/v1/pickups
- Sandbox Server for Canadahttps://api-ppd.shipping360.pitneybowes.com/ca/shipping/api/v1/pickups
- Production Server for Canadahttps://api.shipping360.pitneybowes.com/ca/shipping/api/v1/pickups
- DHLExpress
- USPS
- UPS
- FedEx
- Purolator
- CPC
- Freight Carriers
curl -i -X POST \
https://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/pickups \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-PB-Developer-Partner-Id: string' \
-H 'X-PB-LocationId: string' \
-d '{
"packageLocation": "Reception",
"carrierAccountId": "wgjYXvYjD0V4",
"pickupAddress": {
"name": "Test",
"addressLine1": "27 Waterview Dr",
"cityTown": "Shelton",
"stateProvince": "CT",
"postalCode": "06484-4301",
"countryCode": "US",
"phone": "1234567890",
"company": "PB",
"email": "ankita.chaurasia@pb.com"
},
"pickupSummary": [
{
"serviceId": "NDA",
"packageCount": 1,
"totalWeight": 15,
"weightUnit": "OZ",
"packageDetails": [
{
"width": 1,
"height": 15,
"length": 10,
"dimUnit": "IN",
"weightUnit": "OZ",
"weight": 15
}
],
"currencyCode": "USD",
"totalCustomsDeclaredValue": 5
}
],
"shipmentIds": [
"DHLEXP2201736600235437",
"DHLEXP2201736600264906"
],
"pickupOptions": {
"pickupStartDateTime": "2025-09-29T09:05:05Z",
"pickupEndDateTime": "2025-09-29T18:30:00Z",
"carrierType": "EXPRESS",
"overweight": 2
},
"reference": "reference"
}'The Pickup has been created successfully.
The location where the parcel will be available for pickup at the specified pickup address.
The confirmation number generated when the pickup request is successfully processed.
The unique identifier of the carrier account being used to process the pickup.
{ "addressLine1": "27 Waterview Dr", "cityTown": "Shelton", "company": "PB", "countryCode": "US", "email": "ankita.chaurasia@pb.com", "name": "Test", "phone": "1234567890", "postalCode": "06484-4301", "residential": false, "stateProvince": "CT" }
An array of the pickup details, including the number of packages, total weight, and carrier service information.
[ { "serviceId": "NDA", "packageCount": 1, "totalWeight": 15, "weightUnit": "OZ", "totalCustomsDeclaredValue": 5, "currencyCode": "USD" }, { "serviceId": "NDA", "packageCount": 2, "totalWeight": 20, "weightUnit": "OZ" } ]
Additional instructions or notes for the carrier regarding the pickup.
- DHLExpress
- USPS
- UPS
- Purolator
- CPC
- FedEx
{ "carrierAccountId": "wgjYXvYjD0V4", "carrier": "dhlexp", "pickupAddress": { "addressLine1": "27 Waterview Dr", "cityTown": "Shelton", "company": "PB", "countryCode": "US", "email": "ankita.chaurasia@pb.com", "name": "Test", "phone": "1234567890", "postalCode": "06484-4301", "residential": false, "stateProvince": "CT" }, "packageLocation": "RECEPTION", "shipmentIds": [ "DHLEXP2201736600235437", "DHLEXP2201736600264906" ], "pickupSummary": [ { "serviceId": "NDA", "packageCount": 1, "totalWeight": 15, "weightUnit": "OZ", "totalCustomsDeclaredValue": 5, "currencyCode": "USD" }, { "serviceId": "NDA", "packageCount": 2, "totalWeight": 20, "weightUnit": "OZ" } ], "reference": "reference", "pickupDateTime": "2025-09-29T09:05:00Z", "pickupConfirmationNumber": "AME250929000197", "pickupId": "DHLEXP09261758885311045", "pickupOptions": { "pickupStartDateTime": "2025-09-29T09:05:05Z", "pickupEndDateTime": "2025-09-29T18:30:00Z", "overweight": 2, "carrierType": "EXPRESS" }, "pickupTotalWeight": 35, "pickupTotalWeightUnit": "OZ" }