Skip to main content

Demo Accounts

Use these accounts to test the API. In demo mode, any password is accepted.

UsernamePasswordRoleWarehouseAccess Level
adminadminBOD (Ban Giรกm ฤแป‘c)AllFull access (Level 4)
manager_hnmanager_hnWarehouse ManagerHN-W01Warehouse + HR (Level 3)
leader_hn_1leader_hn_1Warehouse LeaderHN-W01Operations (Level 2)
hr_teamhr_teamHR (Nhรขn Sแปฑ)AllHR functions (Level 3)
manager_hcmmanager_hcmWarehouse ManagerHCM-W01Warehouse + HR (Level 3)

Login Exampleโ€‹

# Login as BOD (full access)
curl -X POST https://boxme-levelling.pages.dev/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "admin", "password": "admin"}'

# Login as warehouse manager
curl -X POST https://boxme-levelling.pages.dev/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "manager_hn", "password": "manager_hn"}'
tip

Different roles have different access levels. Use the BOD account (admin) for full access, or use specific role accounts to test permission-based access control.