---
title: "Create Movement"
method: POST
path: "/api/v1/expeditor/movements"
tags: ["expeditor"]
---

# Create Movement

`POST /api/v1/expeditor/movements`

## 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/expeditor/movements`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/expeditor/movements/post.ts> (a function with typed inputs; its response is checked against the schema)

Создать перемещение товаров между локациями.

## Request body

- MovementLogCreate
  - `from_location_id` integer, nullable: ID локации откуда (NULL = загрузка товара)
  - `to_location_id` integer, required: ID локации куда
  - `movement_date` string, date, nullable: Дата перемещения (опционально, используется текущая дата)
  - `notes` string, nullable: Примечания
  - `items` MovementItemCreate[], required: Список товаров для перемещения
    - `product_id` integer, required: ID товара
    - `quantity` integer, required: Количество товара
  - `photo_base64` string, nullable: Фото в base64 (опционально)

## Response `200`

Successful Response

- MovementLogResponse
  - `from_location_id` integer, nullable: ID локации откуда (NULL = загрузка товара)
  - `to_location_id` integer, required: ID локации куда
  - `movement_date` string, date, nullable: Дата перемещения (опционально, используется текущая дата)
  - `notes` string, nullable: Примечания
  - `id` integer, required
  - `expeditor_id` integer, nullable, required
  - `expeditor_name` string, nullable, required
  - `from_location_name` string, required
  - `to_location_name` string, required
  - `status` string, required
  - `photo_url` string, nullable, required
  - `items` MovementItemResponse[], required
    - `product_id` integer, required: ID товара
    - `quantity` integer, required: Количество товара
    - `id` integer, required
    - `product_name` string, 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)
