Get All Floorplans

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

Returns the floorplans for a specific business location.

Path parameters

Query parameters

  • If true, the response will include the table details for each floorplan. If false, the response will only include the name and id for the floorplans.

    Default value is true.

Responses

  • 200 application/json

    Floorplans

    Hide response attributes Show response attributes object
    • id integer(int64)

      The unique identifier for the floorplan.

    • name string

      The name of the floorplan.

    • tables array[object]
      Hide tables attributes Show tables attributes object
  • Not Found

    Indicates that the business location has no floorplans configured.

GET /o/op/data/{businessLocationId}/floorplans
curl \
 -X GET https://api.lsk.lightspeed.app/o/op/data/45454565682155/floorplans \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": 141948669132976,
    "name": "Terrace",
    "tables": [
      {
        "number": 1,
        "reference": "abcdefg123456",
        "id": "141948669132977",
        "active": true,
        "description": "Table 1",
        "defaultClientCount": 4
      }
    ]
  }
]