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.
/api/user/locker/packages
GET
Request Parameters:
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.
/api/user/locker/days-remaining
User ID
{ "remaining_days": 10 }
Last updated 1 year ago