Reservations for Platforms
Get Business Locations
Changed onRetrieve all the business locations accessible for a User
get/reservation/api/1/user/platform/{platform-code}/business-locations
Request
- Base URLhttps://api.trial.lsk.lightspeed.app
- URLhttps://api.trial.lsk.lightspeed.app/reservation/api/1/user/platform/{platform-code}/business-locations
- AuthOAuth 2Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/authToken URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: user-token-by-authorization-code
Path parameters
platform-codestring required
The unique code assigned to the reservation platform.
Example:MyPlatform
Query parameters
pageinteger
The page number, when paginating
sizeinteger
The items per page, when paginating
Response
A list of business locations
Example response
[
{
"businessLocationId": "123456789",
"city": "Genève",
"country": "CH",
"name": "Le Gâteau",
"state": "Canton de Genève",
"street1": "Rue de la Servette 10",
"street2": "Suite 2",
"zip": "101201"
}
]Changes
- breaking
for the
queryrequest parametersize, default value was changed from10000to1000
- breaking
- breaking
the
/response's property type changed fromintegertostring, and format fromint64to no format for status - info
the response property
/became required for the status
- breaking