Path parameters
-
The unique identifier for the business location.
-
The unique identifier for the employee.
GET /staff/v1/businessLocations/{businessLocationId}/staff/{staffId}
curl \
-X GET https://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/staff/{staffId} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"staffId": 1234,
"username": "John Doe",
"userTypes": [
"POS"
],
"firstName": "John",
"lastName": "Doe",
"email": "hello@example.com",
"active": true,
"createdOn": "2024-05-04T09:42:00+00:00",
"modifiedOn": "2024-05-04T09:42:00+00:00",
"businessId": 12345,
"businessLocationId": 1234567890,
"groups": [
{
"id": 1234,
"name": "Bar Staff"
}
],
"reportAccess": [
"STAFF_REPORT_OWN_ACCESS"
],
"roles": [
{
"id": 1234,
"name": "ROLE_CAN_LOGIN"
}
]
}