Order and Pay

Get Businesses

Returns a list of all businesses and business locations associated with the access token.

get/o/op/data/businesses

Request

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

Response

Businesses

namestring

The business name.

idinteger

The unique identifier for the business.

Example response

[
  {
    "name": "My Awesome Business",
    "id": 454335871,
    "businessLocations": [
      {
        "id": 45454565682155,
        "name": "My Awesome Business - Location 1"
      }
    ]
  }
]

Changes

No operation changes recorded.