---
title: "Get a single location"
method: GET
path: "/locations/{id}"
tags: ["location"]
---

# Get a single location

`GET /locations/{id}`

Get location data by id

## Path parameters

- `id` integer, required

## Response `200`

Object with location data.

- object
  - `id` integer, required — Location id
  - `title` string, required — Location title
  - `abn` string, nullable, required — Business number
  - `address` string, nullable, required — Business number
  - `postalCode` string, nullable, required — Location post code
  - `suburb` string, nullable, required — Location suburb
  - `state` string, nullable, required — Location state
  - `country` string, nullable, required — Location country
  - `phone` string, nullable, required — Location phone number
  - `email` string, nullable, required — Location email
  - `onlineBooking` boolean, nullable — Whether online booking is enabled
  - `timezone` string, nullable, required — Location timezone
  - `archived` boolean, nullable — Whether the location has been archived
  - `associatedServiceIds` integer[], required — Array of service ids associated with this location
  - `createdAt` union — Object creation date time
    - string
    - string
  - `updatedAt` union — Object update date time
    - string
    - string
  - `deletedAt` union, required — Object archived date time
    - string
    - string
    - unknown

---

[API](https://skmtc.dev/splose/apis/splose-public-api.md) · [All operations](https://skmtc.dev/splose/apis/splose-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/splose/splose-public-api/revisions/648d60075f00/schema)
