Get Business Locations
Retrieve all the business locations accessible for a User
Path parameters
-
The unique code assigned to the reservation platform.
Maximum length is
11
. Format should match the following pattern:[a-zA-Z0-9_-]+
.
GET /reservation/api/1/user/platform/{platform-code}/business-locations
curl \
-X GET https://api.trial.lsk.lightspeed.app/reservation/api/1/user/platform/MyPlatform/business-locations \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"zip": "101201",
"city": "Genève",
"name": "Le Gâteau",
"state": "Canton de Genève",
"country": "CH",
"street1": "Rue de la Servette 10",
"street2": "Suite 2",
"businessLocationId": 123456789
}
]