---
title: "Location - Get All"
method: GET
path: "/location/get_all"
tags: ["location"]
---

# Location - Get All

`GET /location/get_all`

Retrieve all locations for a specific warehouse.

## Query parameters

- `warehouse_id` string, required — Warehouse ID to get all locations for

## Response `200`

All locations in the warehouse with their inventory items

- object
  - `locations` LocationWithItems[], required — Array of locations with items
    - `_id` string, required — Unique location identifier
    - `name` string, required — Location name
    - `warehouse_id` string — Parent warehouse ID
    - `items` LocationItem[], required — Items assigned to this location
      - `item_id` string, required — SKULabs item ID
      - `on_hand` number, required — On-hand quantity at this location
      - `inbound` number, nullable — Inbound quantity
      - `alert` number — Low-stock alert level

## Other responses

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

---

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