---
title: "POST /Distributor"
method: POST
path: "/Distributor"
tags: ["Distributor"]
---

# POST /Distributor

`POST /Distributor`

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

## Request body

- KhaasFoodDistributorsDtosDTOsDistributorFilterInputDto
  - `maxResultCount` integer
  - `skipCount` integer
  - `sorting` string, nullable
  - `keyword` string, nullable
  - `fromDate` string, date-time, nullable
  - `toDate` string, date-time, nullable
  - `asmUserName` string, nullable

## Response `200`

Success

- VoloAbpApplicationDtosPagedResultDto1KhaasFoodDistributorsDtosDTOsDistributorDtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
  - `items` KhaasFoodDistributorsDtosDTOsDistributorDto[], nullable
    - `id` string, uuid
    - `name` string, nullable
    - `code` string, nullable
    - `ownerName` string, nullable
    - `phone` string, nullable
    - `address` string, nullable
    - `thana` string, nullable
    - `district` string, nullable
    - `asmUserId` string, uuid
    - `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)
