Get Businesses
Returns all businesses the token has access to. Pagination is supported by providing the page
and size
query parameters. The maximum number of business locations per business returned is 500.
GET
/f/data/businesses
curl \
-X GET https://api.trial.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"
}
}
}