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 Discounts

GET /o/op/1/menu/discounts

Returns a list of discounts for a specific business location.

Query parameters

Responses

  • 200 application/json

    Load discounts

    Hide response attributes Show response attributes object
    • name string

      The discount name as configured in merchant account.

    • code string

      The discount code as configured in merchant account.

    • The discount percentage, may be fractional. A discount can be a percentage or an amount, but not both.

    • The discount amount, may be fractional. A discount can be a percentage or an amount, but not both.

GET /o/op/1/menu/discounts
curl \
 -X GET https://api.trial.lsk.lightspeed.app/o/op/1/menu/discounts?businessLocationId=45454565682155 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "name": "Free",
    "code": "FREE",
    "discountPercentage": 100.0
  },
  {
    "name": "Ten Euros Off",
    "code": "TEN_OFF",
    "discountAmount": 10.0
  }
]