---
title: "Locations list."
method: GET
path: "/rest/api/warehouse/location/"
tags: ["Warehouse"]
---

# Locations list.

`GET /rest/api/warehouse/location/`

## Query parameters

- `id` integer
- `name` string
- `code` string
- `offset` integer — Position indicator (0-beginning, 1-skips one record, 256 - skips 256 records), max 2000 records
- `limit` integer

## Response `200`

Returns simple list of locations

- GetLocationsResponse
  - `locations` Location[] — List of locations
    - `id` integer, nullable, required
    - `name` string, nullable
    - `code` string, nullable
  - `totalCount` integer — Number of all locations matching the criteria

---

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