Skip to main content
GET
/
locations
/
by-identifier
/
{identifier}
Get Location by Identifier
curl --request GET \
  --url https://api.example.com/locations/by-identifier/{identifier}
{
  "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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.truststack.dev/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

identifier
string
required

The identifier of the location

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