---
title: "GET /product-wise-profit-report"
method: GET
path: "/product-wise-profit-report"
tags: ["Reports"]
---

# GET /product-wise-profit-report

`GET /product-wise-profit-report`

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

## Query parameters

- `Month` integer
- `Year` integer
- `WarehouseId` string, uuid
- `SaleFrom` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
- `ProductCategoryIds` string[]

## Response `200`

Success

- VoloAbpApplicationDtosPagedResultDto1KhaasFoodReportsDtosProductWiseProfitReportDtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
  - `items` KhaasFoodReportsDtosProductWiseProfitReportDto[], nullable
    - `productName` string, nullable
    - `saleQuantity` number, double
    - `saleAmount` number, double
    - `damageQuantity` number, double
    - `damageAmount` number, double
    - `giftQuantity` number, double
    - `giftAmount` number, double
    - `returnedQuantity` number, double
    - `returnedAmount` number, double
    - `costOfGoodSold` number, double
    - `netSoldQuantity` number, double
    - `netSoldAmount` number, double
    - `grossProfitOrLoss` number, double
    - `profitRate` number, double
    - `contribution` number, double
    - `wastageQuantity` number, double
    - `wastageAmount` number, double
    - `lineDiscountAmount` number, double
    - `netGrossProfit` number, double
    - `netProfitRate` number, double
  - `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)
