---
title: "Get Warehouse Traffic"
method: GET
path: "/warehousetraffic"
tags: ["WarehouseApi"]
---

# Get Warehouse Traffic

`GET /warehousetraffic`

Retrieves warehouse traffic records showing stock movements (additions and removals) for the authenticated customer, optionally filtered by item code.

## Query parameters

- `itemCode` string

## Response `200`

OK

- ClientApiWarehouseTrafficsResultDto
  - `status` 'OK' | 'Error' | 'ValidationFailed' — 0 = OK, 1 = Error, 2 = ValidationFailed
  - `validations` ClientAPIValidation[], nullable
    - `code` integer
    - `message` string, nullable
    - `params` object, nullable
  - `data` CNWarehouseTraffic[], nullable — List of warehouse traffic records showing stock movements for the customer.
    - `item` CNWarehouseItem
      - `itemCode` string, nullable — Unique code identifying this warehouse item (e.g., packaging material or label type).
      - `description` string, nullable — Human-readable description of the warehouse item.
      - `currentAmount` number, double, nullable — Current stock quantity of this item in the warehouse.
      - `type` 'ItemsPerBarcode' | 'SerialNumberTracking' — 0 = ItemsPerBarcode, 1 = SerialNumberTracking
    - `shipment` CNShipmentIdDto
      - `shipmentID` string, nullable — Unique system-generated identifier of the associated shipment.
    - `operation` 'SetInventory' | 'AddedQuantity' | 'RemovedQuantity' | 'CommissionEvent' | 'Canceled' — 0 = SetInventory, 1 = AddedQuantity, 3 = RemovedQuantity, 4 = CommissionEvent, 5 = Canceled
    - `commitedOn` string, date-time, nullable — Date and time when the stock movement was committed.
    - `description` string, nullable — Description or reason for this stock movement.
    - `serialNumber` string, nullable — Serial number of the item involved in this movement, if applicable.
    - `amount` number, double, nullable — Quantity of items moved in this traffic record.
  - `error` ClientAPIError
    - `code` integer
    - `message` string, nullable
    - `stackTrace` string, nullable
    - `innerException` ClientAPIError — recursive
    - `validations` ClientAPIValidation[], nullable
      - `code` integer
      - `message` string, nullable
      - `params` object, nullable
    - `messageParams` string[], nullable
    - `payload` JToken[]
  - `traceID` string, nullable — Unique trace identifier for debugging and support purposes.

---

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