Lightspeed Restaurant K Series API
1.0.0

Lightspeed Restaurant offers a REST API in order to communicate with the data in the system. These APIs are built using the RESTful standards and adhere to the basic verb interactions as defined by the REST standard.

These services are in continuous development and subject to change. Find our versioning policy here.

This is the documentation for version 1.0.0 of the API. Last update on May 1, 2024.

Base URL
https://api.trial.lsk.lightspeed.app

Get Business Locations

GET /reservation/api/1/user/platform/{platform-code}/business-locations

Retrieve all the business locations accessible for a User

Path parameters

  • platform-code string Required

    The unique code assigned to the reservation platform.

    Maximum length is 11. Format should match the following pattern: [a-zA-Z0-9_-]+.

Query parameters

  • page integer(int32)

    The page number, when paginating

    Default value is 0.

  • size integer(int32)

    The items per page, when paginating

    Default value is 10000.

Responses

  • 200 application/json

    A list of business locations

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

      The business location's unique identifier.

    • name string

      The business location's name.

    • street1 string

      The first line of the business location's street address.

    • street2 string

      The second line of the business location's street address.

    • city string

      The business location's city.

    • state string

      The business location's state.

    • country string

      The business location's country.

    • zip string

      The business location's postal code.

  • 400

    Non relevant request

  • 403

    Access token not relevant for the businessLocation, use authorization-code

  • 404

    No business locations found

GET /reservation/api/1/user/platform/{platform-code}/business-locations
curl \
 -X GET https://api.trial.lsk.lightspeed.app/reservation/api/1/user/platform/EasyTable/business-locations \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "businessLocationId": 123456789,
    "name": "Le Gâteau",
    "street1": "Rue de la Servette 10",
    "street2": "Suite 2",
    "city": "Genève",
    "state": "Canton de Genève",
    "country": "CH",
    "zip": "101201"
  }
]