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.lsk.lightspeed.app/o/op/1/menu/discounts?businessLocationId=45454565682155 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "code": "FREE",
    "name": "Free",
    "discountPercentage": 100.0
  },
  {
    "code": "TEN_OFF",
    "name": "Ten Euros Off",
    "discountAmount": 10.0
  }
]