---
title: "Create Expeditor"
method: POST
path: "/api/v1/admin/expeditors"
tags: ["Admin: Экспедиторы"]
---

# Create Expeditor

`POST /api/v1/admin/expeditors`

## Request

- Base URL: `https://api.food24.kz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.food24.kz/api/v1/admin/expeditors`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/expeditors/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ExpeditorCreate
  - `username` string, required: Имя пользователя для входа
  - `password` string, required: Пароль
  - `email` string, nullable: Email
  - `name` string, nullable: Полное имя экспедитора
  - `phone` string, nullable: Телефон экспедитора

## Response `201`

Successful Response

- ExpeditorResponse
  - `id` integer, required
  - `username` string, required
  - `name` string, nullable
  - `phone` string, nullable
  - `email` string, nullable
  - `is_active` boolean, required
  - `is_expeditor` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/food24/apis/goodfood.md) - [All operations](https://skmtc.dev/food24/apis/goodfood/llms.txt) - [OpenAPI document](https://skmtc.dev/food24/apis/goodfood/revisions/f75c731597d3?raw)
