Pitney Locker APIs
/Locker APIs
//
Free a Reserved Locker Un...
This API operation release a previously reserved locker unit or remove the reserved package based on the tracking number in the specified locker bank when the reservation needs to be released. Once the locker unit freed, the unit becomes available for new reservations.
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/parcelpoint/api/v1/lockerBanks/{lockerBankId}/lockers/{lockerUnitId}/free
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/parcelpoint/api/v1/lockerBanks/{lockerBankId}/lockers/{lockerUnitId}/free
curl -i -X POST \
https://api-sandbox.sendpro360.pitneybowes.com/parcelpoint/api/v1/lockerBanks/AOne/lockers/2/free \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"userId": "ThirdParty",
"parcels": [
{
"trackingNumber": "Dept03",
"secondaryTrackingNumber": "TRACK-1234"
}
]
}'The specified locker unit is freed successfully.
The unique identifier of the locker bank where the locker unit was freed.
Example:"AOne"
The identifier of the recipient associated with the locker reservation that was freed.
Example:"ThirdParty"
The source type of the recipient identifier.
Enum:"recipient""department"
Example:"recipient"
Response
{ "lockerBankId": "AOne", "lockerUnitId": "2", "unitReserved": true, "contactId": "ThirdParty", "contactType": "recipient", "parcelsReserved": [ { "trackingNumber": "26112025_1", "secondaryTrackingNumber": "TRACK-1234" } ] }