v1

latestOpenAPI 3.0.02026-07-26550199.6 KB
location

Get a single location

Get location data by id

get/locations/{id}

Path parameters

idinteger required
Example:1

Response

Object with location data.

idinteger required

Location id

titlestring required

Location title

abnstring nullable required

Business number

addressstring nullable required

Business number

postalCodestring nullable required

Location post code

suburbstring nullable required

Location suburb

statestring nullable required

Location state

countrystring nullable required

Location country

phonestring nullable required

Location phone number

emailstring nullable required

Location email

onlineBookingboolean nullable

Whether online booking is enabled

timezonestring nullable required

Location timezone

archivedboolean nullable

Whether the location has been archived

associatedServiceIdsinteger[] required

Array of service ids associated with this location

Example response

{
  "id": 1,
  "title": "Rainbow Therapy",
  "abn": "12345678",
  "address": "12345678",
  "postalCode": "5000",
  "suburb": "Adelaide",
  "state": "SA",
  "country": "Australia",
  "phone": "0412345678",
  "email": "rainbow-therapy@splose.com",
  "timezone": "Australia/Adelaide",
  "associatedServiceIds": [
    1,
    2,
    3
  ]
}