Get All POS User Permissions
Path parameters
-
The unique identifier for the business location.
GET /staff/v1/businessLocations/{businessLocationId}/userTypes/POS/roles
curl \
-X GET https://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/userTypes/POS/roles \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"staff": [
{
"value": "ROLE_MANAGER",
"description": "POS user is a manager"
}
]
},
"links": {
"first": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=1&size=1&sort=userId,desc"
},
"self": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=1&size=1&sort=userId,desc"
},
"next": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=2&size=1&sort=userId,desc"
},
"last": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=5&size=1&sort=userId,desc"
}
},
"page": {
"page": 1,
"size": 10,
"totalElements": 100,
"totalPages": 10
}
}