Deposit a package into a locker unit

This API operation deposit a package into a locker unit in the specified locker bank

SecuritybearerAuth
Request
path Parameters
lockerBankId
required
string

Unique identifier of the locker bank where the locker unit is located.

lockerUnitId
required
string

Unique identifier of the locker unit within the specified locker bank.

Request Body schema: application/json

The details of the parcel deposit into a locker unit.

userId
string

The identifier of the user performing the deposit action.

required
Array of objects
Responses
200

The package has been deposited into a locker unit in the specified locker bank.

400

Invalid request.

401

The request could not be authorized.

404

The requested resource was not found.

500

The request could not be completed due to an internal error.

patch/api/v1/lockerBanks/{lockerBankId}/lockers/{lockerUnitId}/deposit
Request samples
application/json
{
  • "userId": "user@gmail.com",
  • "parcels": [
    ]
}
Response samples
application/json
{
  • "lockerBankId": "AOne",
  • "lockerUnitId": "7",
  • "userId": "user@gmail.com",
  • "pickupCode": "NR8PBW",
  • "depositTime": "2025-11-27T11:23:26Z",
  • "depositExpiryTime": "2025-11-28T11:23:26Z",
  • "parcelsDeposited": [
    ]
}