---
title: "Выгрузить номенклатуру оператору"
method: POST
path: "/api/v1/stock/wms/bindings/{id}/items"
tags: ["Stock warehouses"]
---

# Выгрузить номенклатуру оператору

`POST /api/v1/stock/wms/bindings/{id}/items`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/stock/wms/bindings/{id}/items`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2
    - Authorization code: `https://erp.akeda.ru/oauth2/authorize`
    - Token URL: `https://erp.akeda.ru/oauth2/token` scopes: `akeda:delegate`
  - HTTP bearer

Ставит в очередь выгрузку товаров оператору: карточка, ОКЕИ базовой единицы строкой из трёх цифр, ШК, упаковки с их ШК. Пустой список — все действующие складские товары кабинета; в режиме номенклатуры manual он отказывается (422 stock.wms.items_manual) — товары отправляются со сверки. Неизменённый товар повторно не ставится. Товар без кода ОКЕИ или без ШК не выгружается и возвращается в problems с причиной.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- StockWMSPushItemsInput
  - `product_ids` UUID[]: Товары; пусто — все действующие складские товары

## Response `200`

Сколько товаров поставлено в очередь и что не ушло

- StockWMSPushItemsResult
  - `queued` integer, required: Сколько товаров поставлено в очередь
  - `problems` StockWMSItemProblem[], required
    - `product_id` string, uuid, required
    - `name` string, required
    - `article` string, required
    - `reason` 'no_unit_code' | 'bad_unit_code' | 'no_barcode' | 'not_linked' | 'unknown_at_operator' | 'fractional_qty', required: Нет кода ОКЕИ единицы, код ОКЕИ не из цифр, нет штрихкода, товар не сопоставлен с карточкой оператора, оператор не знает товар, дробное количество штучного товара
    - `qty` string: Количество строки у дробного количества штучного товара

## Other responses

- `400`: Некорректный запрос или нарушение бизнес-правила
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `404`: Запись не найдена или не видима текущему пользователю

## Changes

- **2026-12-04** `62756b6cbb14`: 2 warning, 1 info
  - added the new `fractional_qty` enum value to the `problems/items/reason` response property for the response status `200`
  - added the new `unknown_at_operator` enum value to the `problems/items/reason` response property for the response status `200`
  - added the optional property `problems/items/qty` to the response with the `200` status
- **2026-11-28** `21bfed0de6ec`: 1 warning
  - added the new `not_linked` enum value to the `problems/items/reason` response property for the response status `200`
- **2026-11-26** `25c63e470433`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/stock/wms/bindings/:id/items/post.md)

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) - [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c?raw)
