Get businesses data

GET /r/data/businesses

Lookup user businesses and their business locations.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • businessLocations array[object]

      The business locations under this business

      Hide businessLocations attributes Show businessLocations attributes object
      • id integer(int64)

        Business location id

      • name string

        Business location name

    • id integer(int64)

      The business locations under this business.

    • name string

      Business name.

GET /r/data/businesses
curl \
 -X GET https://api.trial.lsk.lightspeed.app/r/data/businesses \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "businessLocations": [
      {
        "id": 42,
        "name": "string"
      }
    ],
    "id": 42,
    "name": "string"
  }
]