v1

latestOpenAPI 3.1.02026-08-06911,228852.2 KB
Reservations for Platforms

Get Business Locations

Retrieve all the business locations accessible for a User

get/reservation/api/1/user/platform/{platform-code}/business-locations

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

businessLocationIdstring required

The unique identifier of the business location.

citystring

The business location's city.

countrystring

The business location's country.

namestring

The business location's name.

statestring

The business location's state.

street1string

The first line of the business location's street address.

street2string

The second line of the business location's street address.

zipstring

The business location's postal code.

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"
  }
]