Get Businesses
Returns a list of all businesses and business locations associated with the access token.
GET /o/op/data/businesses
curl \
-X GET https://api.trial.lsk.lightspeed.app/o/op/data/businesses \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"name": "My Awesome Business",
"id": 454335871,
"businessLocations": [
{
"id": 45454565682155,
"name": "My Awesome Business - Location 1"
}
]
}
]