---
title: "List inventory locations"
method: GET
path: "/inventory/locations"
tags: ["InventoryLocations"]
---

# List inventory locations

`GET /inventory/locations`

Returns the paginated list of inventory locations the caller can
see, optionally filtered by site. Use this to populate the
location picker on stock-count and adjustment flows.

## Query parameters

- `site_id` string
- `per_page` integer
- `page` integer

## Response `200`

Locations were successfully retrieved.

- object
  - `data` InventoryLocation[], required
    - `id` string, uuid — The ID of the location.
    - `organisation_id` string, uuid — The ID of the organisation this location belongs to.
    - `site_id` string, uuid — The ID of the site this location belongs to.
    - `name` string, required — A display name for the location.
    - `created_at` string, date-time — The date and time the location was created.
    - `updated_at` string, date-time — The date and time the location was last updated.
  - `meta` PaginationMeta, required — Counts and positional information for the current page of a list response. Use `current_page` and `last_page` to drive pagination UI, `total` for result counts, and `per_page` to confirm the page size the server actually applied (which may differ from the requested value when capped).
    - `from` integer, required — The item number from which this results set starts from
    - `to` integer, required — The item number from which this results set ends at
    - `total` integer, required — The total number of results
    - `current_page` integer, required — The current page number
    - `last_page` integer, required — The page number of the last result set
    - `per_page` integer, required — The number of results per page
    - `path` string, required — The path of this api request

## Other responses

- `401` — The user is unauthenticated

---

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