Path parameters
-
The unique identifier for the business.
-
The unique identifier for the user.
Body Required
-
businessLocationIds array[integer(int64)]
List of all
businessLocationIds
to be added.
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
]
}