---
title: "POST /api/app/warehouse-product-query/list"
method: POST
path: "/api/app/warehouse-product-query/list"
tags: ["WarehouseProductQuery"]
---

# POST /api/app/warehouse-product-query/list

`POST /api/app/warehouse-product-query/list`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/warehouse-product-query/list`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodProductsDTOsWarehouseProductsGetWarehouseProductHistoryInputDto
  - `maxResultCount` integer
  - `skipCount` integer
  - `sorting` string, nullable
  - `warehouseId` string, uuid, nullable
  - `isShowMinusOnHand` boolean
  - `keyword` string, nullable
  - `isActiveProductOnly` boolean
  - `productType` integer, nullable

## Response `200`

Success

- VoloAbpApplicationDtosPagedResultDto1KhaasFoodProductsDTOsWarehouseProductsWarehouseProductPagedResultDtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
  - `items` KhaasFoodProductsDTOsWarehouseProductsWarehouseProductPagedResultDto[], nullable
    - `id` string, uuid
    - `startingInventory` number, double
    - `purchased` number, double
    - `purchaseReturned` number, double
    - `sold` number, double
    - `transferredIn` number, double
    - `transferredOut` number, double
    - `onHand` number, double
    - `minimumStockToNotify` integer
    - `damaged` number, double
    - `wastage` number, double
    - `gifted` number, double
    - `returned` number, double
    - `discrepancy` number, double
    - `averageUnitPrice` number, double
    - `productName` string, nullable
    - `isProductActive` boolean
    - `warehouseName` string, nullable
    - `warehouseId` string, uuid
    - `unitOfMeasurementName` string, nullable
    - `isActive` boolean
  - `totalCount` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
