Get Businesses

GET /f/data/businesses

Returns all businesses the token has access to.

Query parameters

  • page integer(int32)

    Starting page of results, when paginating

    Default value is 0.

  • size integer(int32)

    Number of results to return, when paginating

    Default value is 1000.

Responses

  • 200 application/json

    Businesses returned

    Hide response attributes Show response attributes object
    • Hide _embedded attribute Show _embedded attribute
GET /f/data/businesses
curl \
 -X GET https://api.lsk.lightspeed.app/f/data/businesses \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "_embedded": {
    "businessList": [
      {
        "businessName": "My Business",
        "businessId": 1234,
        "currencyCode": "GBP",
        "businessLocations": [
          {
            "blName": "My Business Location 1",
            "blID": 1234567890,
            "country": "GB",
            "timezone": "Europe/London"
          }
        ]
      }
    ]
  },
  "_links": {
    "self": {
      "href": "https:///api.ikentoo.com/data/businesses"
    }
  }
}