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

Add authentication with BasicAuth

PATCH /reservation/api/1/platform/{platform-code}/webhook/auth/basic-auth

Activate BasicAuth authentication for webhooks.

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_-]+.

application/json

Body

  • username string Required

    The basic auth username.

  • password string(password) Required

    The basic auth password.

Responses

  • 200

    Accepted

  • 400

    Non relevant request

  • 403

    Scope 'reservation-{platform-code}' not found in the token

  • 404

    Platform not found

PATCH /reservation/api/1/platform/{platform-code}/webhook/auth/basic-auth
curl \
 -X PATCH https://api.trial.lsk.lightspeed.app/reservation/api/1/platform/EasyTable/webhook/auth/basic-auth \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"username":"LightspeedKSeries","password":"Example-Password"}'
Request example
{
  "username": "LightspeedKSeries",
  "password": "Example-Password"
}