---
title: "List storage items V2"
method: GET
path: "/api/v2/warehouses/{warehouseId}/storageLocations/{storageLocationId}/items"
tags: ["Storage Item"]
---

# List storage items V2

`GET /api/v2/warehouses/{warehouseId}/storageLocations/{storageLocationId}/items`

Returns all storage location items for the specified warehouse / location.

## Path parameters

- `warehouseId` string, required — Resource identifier.
- `storageLocationId` string, required — Resource identifier.

## Response `200`

Operation completed successfully. Support for products where a product is both serial number tracked AND batch/best before date tracked at the same time is limited. In case serial number tracking is set to "Generate own" in the product master data, the qualityControlAttribute quantities will be reported (a) for the serial numbers on shelf and (b) for the batch/bestBeforeDate records on shelf, thus potentially resulting in a double count in the total across all qualityControlAttribute->quantity values. The quantity on the product->quantity level reflects the correct quantity on shelf in any case.

- object
  - `data` object[] — Representation of a list of Items in storage
    - `productId` string — Resource identifier.
    - `sku` string — SKU code of the item
    - `quantity` number — Quantity of the item to stock to storage location
    - `qualityControlAttributes` object[] — List of Product unit specific quality properties
      - `quantity` number — Quantity of the item to stock to storage location
      - `batch` string, nullable — Batch of the item
      - `bestBeforeDate` string, date, nullable — Best before date of the item
      - `serialNumbers` object[]
        - `number` string — The serial numbers of the item
  - `extra` object
    - `totalCount` integer, required — the total count of all items
    - `page` object, required — The pagination object containing the current page number and size
      - `number` integer, required — The current page number
      - `size` integer, required — The size of the pages

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `429` — Too many API calls made.

---

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