Add Staff business location access
Path parameters
-
The unique identifier for the business.
-
The unique identifier for the employee.
Body Required
-
businessLocationIds array[integer(int64)]
List of all
businessLocationIds
contained within the business.
POST /staff/v1/business/{businessId}/assignStaff/{staffId}
curl \
-X POST https://api.trial.lsk.lightspeed.app/staff/v1/business/{businessId}/assignStaff/{staffId} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"businessLocationIds":[123456789,987654321]}'
Request examples
{
"businessLocationIds": [
123456789,
987654321
]
}
Response examples (200)
{
"businessLocationIds": [
123456789,
987654321
]
}