Locker Information
Get Locker Prices
Retrieve the prices for different locker sizes.
Endpoint: /api/locker-prices
Method: GET
Description: Returns the prices for small, medium, and large lockers.
Response:
{
"small": 25.00,
"medium": 40.00,
"large": 60.00
}Note: Small corresponds to locker_id = 1, medium to locker_id = 2, and large to locker_id = 3
Get Locker Capacities
Get the capacity information for each locker size.
Endpoint: /api/locker/capacities
Method: GET
Description: Returns the capacity specifications for each locker type.
Response:
[
{
"locker_id": 1,
"max_weight": 20,
"max_volume": 30,
"max_package_count": 30
},
{
"locker_id": 2,
"max_weight": 40,
"max_volume": 60,
"max_package_count": 60
},
{
"locker_id": 3,
"max_weight": 60,
"max_volume": 90,
"max_package_count": 90
}
]Last updated