Skip to main content
GET
/
locations
/
{id}
Get Location
curl --request GET \
  --url https://api.example.com/locations/{id}
{
  "id": "<string>",
  "identifier": "<string>",
  "referenceNumber": 123,
  "name": "<string>",
  "parentLocationId": "<string>",
  "locationTag": {
    "id": "<string>",
    "code": "<string>",
    "name": "<string>",
    "description": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deleted": true,
    "deletedAt": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

id
string
required

The ID of the location to get

Response

The location has been successfully retrieved

id
string
required

The id of the location

identifier
string
required

The identifier of the location

referenceNumber
number
required

The reference number of the location

name
string
required

The name of the location

parentLocationId
string | null

The id of the parent location

locationTag
object

The tag associated with the location