Staff

Add Business Location Access

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

Request

  • Base URL
    https://api.trial.lsk.lightspeed.app
  • URL
    https://api.trial.lsk.lightspeed.app/staff/v1/business/{businessId}/assignStaff/{staffId}
  • Auth
    OAuth 2
    Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth
    Token URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: staff-api

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
  ]
}

Changes