Order and Pay

Get Discounts

Returns a list of discounts for a specific business location.

get/o/op/1/menu/discounts

Request

  • Base URL
    https://api.trial.lsk.lightspeed.app
  • URL
    https://api.trial.lsk.lightspeed.app/o/op/1/menu/discounts
  • 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

Query parameters

businessLocationIdinteger required

The unique identifier for the business location.

Example:45454565682155

Response

Load discounts

namestring

The discount name as configured in merchant account.

codestring

The discount code as configured in merchant account.

discountPercentagenumber

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

discountAmountnumber

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

Example response

[
  {
    "name": "Free",
    "code": "FREE",
    "discountPercentage": 100
  },
  {
    "name": "Ten Euros Off",
    "code": "TEN_OFF",
    "discountAmount": 10
  }
]

Changes

No operation changes recorded.