APIs for managing locker unit reservations and parcel handling workflows within a locker bank. These APIs support operations such as reserving locker units, depositing parcels, retrieving reservation details, updating reservations, and freeing locker units. Together, these operations enable end-to-end management of locker-based delivery and pickup workflows.
This API operation creates a reservation for a locker unit in the specified locker bank.
Locker selection rules
- Provide either
sizeorlockerUnitId. - If
lockerUnitIdis provided, the system reserves that exact locker. - If only
sizeis provided, the system selects any available locker of that size. - If both are provided,
lockerUnitIdtakes precedence andsizeis ignored.
Create a reservation
The identifier of the user performing the locker reservation action.
Requested locker size for the reservation.Used only when lockerUnitId is not provided. If both size and lockerUnitId are provided, this value is ignored. valid values are- small, medium, large and mlarge.
Requests a locker that would be deemed handicapped accesible to recipients.
The identifier of the recipient of the package for whom the locker reservation is created.
The source type of the recipient identifier.
The primary identifier of a package, usually a carrier's tracking number.
A secondary identifier for a package, can be generated internally.
- https://api-dev.sendpro360.pitneycloud.com/lockershttps://api-dev.sendpro360.pitneycloud.com/lockers/api/v1/lockerBanks/{lockerBankId}/lockers/reserve
- https://api-qa.sendpro360.pitneycloud.com/lockershttps://api-qa.sendpro360.pitneycloud.com/lockers/api/v1/lockerBanks/{lockerBankId}/lockers/reserve
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/lockers/api/v1/lockerBanks/{lockerBankId}/lockers/reserve
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/lockers/api/v1/lockerBanks/{lockerBankId}/lockers/reserve
curl -i -X POST \
https://api-dev.sendpro360.pitneycloud.com/lockers/api/v1/lockerBanks/AOne/lockers/reserve \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"userId": "thirdpartyuser@gmail.com",
"size": "small",
"accessible": true,
"lockerUnitId": "2",
"contactId": "684a6b7bbc85e1bce739xxxx",
"contactType": "recipient",
"trackingNumber": "TrackigID137",
"secondaryTrackingNumber": "TRACK-1234",
"reservationExpiryTime": "2027-12-01T00:00:00Z"
}'Successful operation
The unique identifier of the locker bank where the reservation was created.
The identifier of the recipient of the package associated with the reservation.
The source type of the recipient identifier.
The primary identifier of a package, usually a carrier's tracking number.
A secondary identifier for a package, can be generated internally.
{ "lockerBankId": "AOne", "lockerUnitId": "2", "size": "small", "contactId": "684a6b7bbc85e1bce739xxxx", "contactType": "recipient", "trackingNumber": "TrackigID137", "secondaryTrackingNumber": "TRACK-1234", "reservationExpiryTime": "2027-12-01T00:00:00Z" }