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:
Note: The sender's first name and last name are required for USPS. For example:
"name": "John Doe"
The Pickup has been created successfully.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "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"
}{- "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"
}