---
title: "POST /ProductCategoryQuery/Search"
method: POST
path: "/ProductCategoryQuery/Search"
tags: ["ProductCategoryQuery"]
---

# POST /ProductCategoryQuery/Search

`POST /ProductCategoryQuery/Search`

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

## Request body

- KhaasFoodProductsDTOsProductCategoriesProductCategoryFilterInputDto
  - `maxResultCount` integer
  - `skipCount` integer
  - `sorting` string, nullable
  - `filter` string, nullable
  - `productGroupById` string, uuid, nullable

## Response `200`

Success

- VoloAbpApplicationDtosPagedResultDto1KhaasFoodProductsDTOsProductCategoriesProductCategoryDtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
  - `items` KhaasFoodProductsDTOsProductCategoriesProductCategoryDto[], nullable
    - `id` string, uuid
    - `productGroupName` string, nullable
    - `name` string, nullable
    - `slug` string, nullable
    - `productGroupId` string, uuid
    - `discountPercent` number, double, nullable
    - `productCount` integer
    - `iconUrl` string, nullable
    - `image` KhaasFoodProductsDTOsImageDto
      - `url` string, nullable
      - `alt` string, nullable
      - `title` string, nullable
      - `caption` string, nullable
      - `description` string, nullable
    - `webBannerImage` KhaasFoodProductsDTOsImageDto
      - `url` string, nullable
      - `alt` string, nullable
      - `title` string, nullable
      - `caption` string, nullable
      - `description` string, nullable
    - `displayOrder` integer
    - `isActive` boolean
    - `seoTitle` string, nullable
    - `focusKeyphrase` string, nullable
    - `metaDescription` string, nullable
  - `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)
