---
title: "POST /product-transaction-history"
method: POST
path: "/product-transaction-history"
tags: ["Reports"]
---

# POST /product-transaction-history

`POST /product-transaction-history`

## 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/product-transaction-history`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodReportsDtosProductTransactionHistoryInputDto
  - `maxResultCount` integer
  - `skipCount` integer
  - `fromDate` string, date-time, nullable
  - `toDate` string, date-time, nullable
  - `productId` string, uuid, nullable
  - `warehouseId` string, uuid, nullable
  - `isOfficeSupply` boolean

## Response `200`

Success

- KhaasFoodReportsDtosProductTransactionHistoryPagedResultWithSummaryDto
  - `result` VoloAbpApplicationDtosPagedResultDto1KhaasFoodReportsDtosProductTransactionHistoryDtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
    - `items` KhaasFoodReportsDtosProductTransactionHistoryDto[], nullable
      - `orderNumber` string, nullable
      - `quantity` number, double
      - `operationType` string, nullable
      - `operationTime` string, date-time
      - `balance` number, double
      - `totalCount` integer
    - `totalCount` integer
  - `summary` KhaasFoodReportsDtosProductTransactionHistorySummaryDto
    - `openingBalance` number, double
    - `closingBalance` number, double

## 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)
