Pitney Locker APIs
/Locker APIs
//
Open a locker unit
Opens a specific locker unit remotely in the specified locker bank. Use this endpoint when an authorized user needs to unlock a locker unit for package deposit or return drop-off. Note: This API returns a success response only when the locker hardware is configured.
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/parcelpoint/api/v1/lockerBanks/{lockerBankId}/lockers/{lockerUnitId}/open
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/parcelpoint/api/v1/lockerBanks/{lockerBankId}/lockers/{lockerUnitId}/open
curl -i -X POST \
https://api-sandbox.sendpro360.pitneybowes.com/parcelpoint/api/v1/lockerBanks/AOne/lockers/2/open \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"userId": "user@gmail.com"
}'Locker unit opened successfully.
The identifier of the contact associated with the locker reservation, if available.
Example:"684a6b7bbc85e1bce739xxxx"
The type of contact associated with the locker reservation.
Enum:"recipient""department"
The activity for which the locker unit was opened.
Enum:"deposit""pickup""maintenance"
Response
{ "lockerBankId": "AOne", "lockerUnitId": "2", "contactId": "684a6b7bbc85e1bce739xxxx", "contactType": "recipient", "activityType": "deposit", "parcelsReserved": [ { "trackingNumber": "26112025_6", "secondaryTrackingNumber": "TRACK-1234" } ], "parcelsDeposited": [ { "trackingNumber": "26112025_6", "secondaryTrackingNumber": "TRACK-1234" } ] }