User Locker Management
Get Available Packages
Check remaining package capacity in user's locker.
Endpoint: /api/user/locker/packages
Method: GET
Description: Returns the number of remaining packages that can be stored.
Request Parameters:
Parameter
Type
Description
user_id
integer
User ID (optional if obtained from token)
Response:
{
"remaining_packages": 5
}Get Remaining Days
Check remaining rental period.
Endpoint: /api/user/locker/days-remaining
Method: GET
Description: Returns the number of days remaining in the rental period.
Request Parameters:
Parameter
Type
Description
user_id
integer
User ID
Response:
{
"remaining_days": 10
}Last updated