v1

latestOpenAPI 3.1.02026-08-06911,228852.2 KB
Staff

Add Business Location Access

post/staff/v1/business/{businessId}/assignStaff/{staffId}

Path parameters

businessIdinteger required

The unique identifier for the business.

staffIdinteger required

The unique identifier for the user.

Request body

businessLocationIdsinteger[]

List of all businessLocationIds to be added.

Example request

{
  "businessLocationIds": [
    123456789,
    987654321
  ]
}

Response

User business location access added successfully.

businessLocationIdsinteger[]

List of all businessLocationIds to be added.

Example response

{
  "businessLocationIds": [
    123456789,
    987654321
  ]
}