This API operation creates a reservation for a locker unit in the specified locker bank.
Locker selection rules
size or lockerUnitId.lockerUnitId is provided, the system reserves that exact locker.size is provided, the system selects any available locker of that size.lockerUnitId takes precedence and size is ignored.Create a reservation
Successful operation
Invalid request.
The request could not be authorized.
The requested resource was not found.
The request could not be completed due to an internal error.
{- "userId": "thirdpartyuser@gmail.com",
- "size": "small",
- "accessible": true,
- "lockerUnitId": "2",
- "contactId": "684a6b7bbc85e1bce7392b9e",
- "contactType": "recipient",
- "trackingNumber": "TrackigID137",
- "secondaryTrackingNumber": "Piece1_PBIL",
- "reservationExpiryTime": "2027-12-01T00:00:00Z"
}{- "lockerBankId": "Axxx",
- "lockerUnitId": "2",
- "size": "small",
- "contactId": "684a6b7bbc85e1bce7392b9e",
- "contactType": "recipient",
- "trackingNumber": "TrackigID137",
- "secondaryTrackingNumber": "Piece1_PBIL",
- "reservationExpiryTime": "2027-12-01T00:00:00Z"
}