---
title: "Get All Floorplans"
method: GET
path: "/o/op/data/{businessLocationId}/floorplans"
tags: ["Order and Pay"]
---

# Get All Floorplans

`GET /o/op/data/{businessLocationId}/floorplans`

## Request

- Base URL: `https://api.trial.lsk.lightspeed.app`
- URL: `https://api.trial.lsk.lightspeed.app/o/op/data/{businessLocationId}/floorplans`
- 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: `orders-api`

Returns the floorplans for a specific business location.

## Path parameters

- `businessLocationId` integer, required: The unique identifier for the business location.

## Query parameters

- `expandTables` boolean

## Response `200`

Floorplans

- object[]
  - `id` integer: The unique identifier for the floorplan.
  - `name` string: The name of the floorplan.
  - `tables` ApeTable[]
    - `number` integer: The table number.
    - `reference` string: The table reference.
    - `id` string: The unique identifier for this table.
    - `active` boolean: If the table is active.
    - `description` string: The table description.
    - `defaultClientCount` integer: The default client count for this table.

## Other responses

- `404`: Not Found Indicates that the business location has no floorplans configured.

## Changes

> 31 revisions in range; 1 not diffed.

- **2024-09-15** `4c87668cd4dd`: 1 info
  - added the new optional `query` request parameter `expandTables`

[Operation history](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/changes/o/op/data/:businessLocationId/floorplans/get.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)
