curl --request GET \
  --url https://api.splose.com/v1/locations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "title": "Rainbow Therapy",
  "abn": "12345678",
  "address": "12345678",
  "postalCode": "5000",
  "suburb": "Adelaide",
  "state": "SA",
  "country": "Australia",
  "phone": "0412345678",
  "email": "rainbow-therapy@splose.com",
  "onlineBooking": false,
  "timezone": "Australia/Adelaide",
  "createdAt": "2023-07-30T09:00:00.000Z",
  "updatedAt": "2023-07-30T09:00:00.000Z",
  "deletedAt": "2023-07-30T09:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required
Required range: x > 0
Example:

1

Response

200 - application/json
Object with location data.
id
integer
required

Location id

Required range: x > 0
Example:

1

title
string
required

Location title

Example:

"Rainbow Therapy"

abn
string | null
required

Business number

Example:

"12345678"

address
string | null
required

Business number

Example:

"12345678"

postalCode
string | null
required

Location post code

Example:

"5000"

suburb
string | null
required

Location suburb

Example:

"Adelaide"

state
string | null
required

Location state

Example:

"SA"

country
string | null
required

Location country

Example:

"Australia"

phone
string | null
required

Location phone number

Example:

"0412345678"

email
string | null
required

Location email

Example:

"rainbow-therapy@splose.com"

timezone
string | null
required

Location timezone

Example:

"Australia/Adelaide"

deletedAt
required

Object archived date time

Example:

"2023-07-30T09:00:00.000Z"

onlineBooking
boolean | null
default:false

Whether online booking is enabled

createdAt

Object creation date time

Example:

"2023-07-30T09:00:00.000Z"

updatedAt

Object update date time

Example:

"2023-07-30T09:00:00.000Z"