**Version: 202701**

# List inventory levels

**GET** `/openapi/2027-01/locations/:location_id/inventory_levels`

List all inventory information of this location.

## Request

**Path Parameters**

- `location_id` uint64 (required)

  Location ID

**Query Parameters**

- `cursor` string

  Cursor for pagination
- `page_size` int32

  Number of records per page
- `page` int32

  Page number (1-based). Mutually exclusive with cursor

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `inventory_levels` object[]

    List of inventory levels

    *   Array \[

    - `inventory_item_id` string

      Inventory item ID
    - `location_id` string

      Location ID
    - `stock` int64

      Stock quantity
    - `updated_at` string

      Last update timestamp, in ISO-8601 format
    *   \]
  - `cursor` string

    The cursor for the next page of results
  - `has_more` boolean

    Whether there are more records

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "inventory_levels": [
      {
        "inventory_item_id": "string",
        "location_id": "string",
        "stock": 0,
        "updated_at": "string"
      }
    ],
    "cursor": "string",
    "has_more": true
  }
}
```
