---
title: "List Inventories"
method: GET
path: "/inventories"
tags: ["Inventories"]
---

# List Inventories

`GET /inventories`

Retrieve a list of inventories. The list can be filtered, sorted, and paginated using the parameters below.

## Query parameters

- `location_id` integer
- `product_variant_id` integer
- `limit` integer
- `sort_order` 'asc' | 'desc'
- `cursor` string

## Response `200`

Success

- object
  - `inventories` InventoryResponse[], required — An array of inventories.
    - `available_count` integer, nullable — The number of `product_variant`s available at `location`.
    - `product_variant` ProductVariantResponseData
      - `id` integer, required — The unique identifier for the product variant, created by Loop.
      - `external_id` string, nullable — The identifier used by an external source to identify the product variant.
      - `sku` string, nullable — The SKU of the product variant.
      - `name` string, required — The name of the product variant.
      - `weight_grams` integer, nullable — The weight of the product variant in grams.
      - `barcode` string, nullable — The barcode of the product variant.
    - `location` LocationResponseData
      - `id` integer, required — The unique identifier for the location, created by Loop.
      - `external_id` string, nullable — The identifier used by an external source to identify the location.
      - `name` string, required — The name of the location.
      - `status` 'active' | 'inactive', required — The status of the location.
      - `address` AddressResponseData, required
        - `name` string, nullable — The name of the address.
        - `company` string, nullable — The name of the company residing at the address.
        - `address1` string, nullable — Line 1 of the address.
        - `address2` string, nullable — Line 2 of the address.
        - `city` string, nullable — The city in which the address is located.
        - `region` string, nullable — The state or region in which the address is located.
        - `postal_code` string, nullable — The postal code associated with the address.
        - `country_code` string, nullable — The country code associated with the address.
  - `next_page_url` string, nullable
  - `previous_page_url` string, nullable

## Other responses

- `401` — Unauthorized

---

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