---
title: "POST /ProductDetailQuery/dropdown"
method: POST
path: "/ProductDetailQuery/dropdown"
tags: ["ProductDetailQuery"]
---

# POST /ProductDetailQuery/dropdown

`POST /ProductDetailQuery/dropdown`

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

## Request body

- KhaasFoodProductsDTOsProductDetailsProductDetailDropdownSearchRequestDto
  - `warehouseId` string, uuid, nullable
  - `isFinishProduct` boolean
  - `isDirectSupplyProduct` boolean
  - `isBundleProduct` boolean
  - `isFinishAndRawProduct` boolean
  - `isOfficeSupply` boolean
  - `isOnlyOfficeSupply` boolean
  - `isPackagingMaterial` boolean
  - `isNationalDistributionSaleProduct` boolean
  - `isRegularSaleProduct` boolean
  - `keyword` string, nullable

## Response `200`

Success

- KhaasFoodProductsDTOsProductDetailsProductDetailDropdownDto[]
  - `id` string, uuid
  - `name` string, nullable
  - `productCode` string, nullable
  - `barcode` string, nullable
  - `salePrice` number, double
  - `dealerPrice` number, double
  - `nationalDistributionPrice` number, double
  - `costPrice` number, double
  - `dealerCashPrice` number, double
  - `dealerDuePrice` number, double
  - `franchisePrice` number, double
  - `partnershipPrice` number, double
  - `onHand` number, double
  - `averageUnitPrice` number, double
  - `isPriceEditable` boolean
  - `discountPercentage` number, double
  - `isDiscountApplicable` boolean
  - `isDiscountOnlyForApp` boolean
  - `isBizBookDiscountApplied` boolean
  - `isBundleProduct` boolean
  - `isShowPackagingProductOnOrder` boolean
  - `isOfficeSupply` boolean
  - `discountApplicableSalePrice` number, double

## Other responses

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

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-10-07** `89e4afdc079d`: 3 info
  - added the optional property `items/isShowPackagingProductOnOrder` to the response with the `200` status (media type: text/plain)
  - added the optional property `items/isShowPackagingProductOnOrder` to the response with the `200` status (media type: application/json)
  - added the optional property `items/isShowPackagingProductOnOrder` to the response with the `200` status (media type: text/json)

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/ProductDetailQuery/dropdown/post.md)

---

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