---
title: "Get Warehouse Location"
method: GET
path: "/wms/warehouses/{warehouse_id}/locations/{location_id}"
tags: ["wms", "Warehouse Locations"]
---

# Get Warehouse Location

`GET /wms/warehouses/{warehouse_id}/locations/{location_id}`

## Request

- Base URL: `https://production.trackstarhq.com`
- URL: `https://production.trackstarhq.com/wms/warehouses/{warehouse_id}/locations/{location_id}`
- Auth: none required

Returns a single Warehouse Location for the WMS connection with the associated warehouse and location id.

## Path parameters

- `warehouse_id` string, required
- `location_id` string, required

## Headers

- `x-trackstar-api-key` string, required
- `x-trackstar-access-token` string, required

## Response `200`

Successful response

- WmsWarehouseLocationsSingleItemEndpoint
  - `data` WmsWarehouseLocationApiItemSchema
    - `id` string, required: The unique ID of the location.
    - `created_date` string, date-time, required: The date the location was created.
    - `updated_date` string, date-time, required: The date the location was last updated.
    - `name` string, nullable, required: The name of the location.
    - `warehouse_id` string, required: The ID of the warehouse the location is in.
    - `type` string, nullable, required: The location type
    - `measurements` LocationMeasurements, required
      - `length` number, nullable, required
      - `width` number, nullable, required
      - `height` number, nullable, required
      - `unit` 'cm' | 'in', nullable, required: The unit of measurement for the size of the location.
      - `weight` number, nullable, required
      - `weight_unit` 'kg' | 'oz' | 'lb', nullable, required: The unit of measurement for the weight of the location.
    - `additional_fields` object, required: Integration-specific fields
    - `trackstar_created_date` string, date-time, required
    - `trackstar_updated_date` string, date-time, required

## Other responses

- `404`: Not found
- `422`: Validation error

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
