---
title: "Item - Get Locations"
method: GET
path: "/item/get_locations"
tags: ["item"]
---

# Item - Get Locations

`GET /item/get_locations`

Retrieve warehouse locations assigned to an item.

## Query parameters

- `item_id` string, required — Item ID

## Response `200`

Item warehouse locations with inventory data

- ItemLocation[]
  - `_id` string — Location ID
  - `name` string — Location name
  - `warehouse_id` string — Warehouse ID
  - `items` LocationMapItem[] — Item inventory entries at this location
    - `element_id` string — Item ID
    - `item_id` string — Item ID (alias for element_id, backwards compatible)
    - `on_hand` number — Quantity on hand at this location
    - `alert` number — Alert threshold
    - `inbound` number — Inbound quantity

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden. Insufficient permissions.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error.

## Changes

- **2026-03-02** `fa53dd949b8e` — 1 breaking, 7 info
  - the `query` request parameter `item_id` became required
  - api operation id `get_item_get_locations` was added
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`
  - …4 more
- **2024-04-22** `08cd9cfa14dd` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
- **2024-04-19** `46ceda528000` — 1 breaking, 7 info
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `get_item_get_locations` removed and replaced with ``
  - the `query` request parameter `item_id` became optional
  - removed the non-success response with the status `400`
  - …4 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/item/get_locations/get.md)

---

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