---
title: "Add Business Location Access"
method: POST
path: "/staff/v1/business/{businessId}/assignStaff/{staffId}"
tags: ["Staff"]
---

# Add Business Location Access

`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

- `businessId` integer, required
- `staffId` integer, required

## Request body

- StaffApiBusinessLocationIds
  - `businessLocationIds` integer[]: List of all `businessLocationIds` to be added.

## Response `200`

User business location access added successfully.

- StaffApiBusinessLocationIds
  - `businessLocationIds` integer[]: List of all `businessLocationIds` to be added.

## Other responses

- `400`: Bad request. Invalid input parameters.
- `401`: Authentication failed.
- `403`: Access Denied.
- `500`: Internal Server Error.

## Changes

> 31 revisions in range; 1 not diffed.

- **2025-01-21** `707b55d222ab`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/changes/staff/v1/business/:businessId/assignStaff/:staffId/post.md)

---

[API](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api.md) - [All operations](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/revisions/af001485cf2b?raw)
