MCP Control
Склад · Чувствительное действие

Склад · Перемещение · Создание

inventory_transfer_create
Посылки на упаковочном столе

Попробуйте три запроса

Подготовить
  1. Вы указываетеОбъект
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Склад / Перемещение / Создание». Для изменения нужны начало, конец. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
from
Начало
to
Конец
lines
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Склад / Перемещение / Создание» с параметром note = Нужна сверка. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
note
Нужна сверка
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Склад / Перемещение / Создание» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

Описание разработчика

Native warehouse transfer create. Reserve specified source quantities for a destination warehouse; does not dispatch or credit the destination. Read the document version before each transition. Keep the original requestId after uncertainty.

Параметры запроса
from
Native from value; use the value and type returned by the corresponding service. обязательно по схеме · string
to
Native to value; use the value and type returned by the corresponding service. обязательно по схеме · string
lines
Native lines value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 100
note
Native note value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "" · до символов 1000
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
result
Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа inventory_transfer_create
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native from value; use the value and type returned by the corresponding service."
    },
    "to": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native to value; use the value and type returned by the corresponding service."
    },
    "lines": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
            "description": "Native productId value; use the value and type returned by the corresponding service."
          },
          "storageId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
            "description": "Native storageId value; use the value and type returned by the corresponding service."
          },
          "quantity": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Native quantity value; use the value and type returned by the corresponding service."
          },
          "expected": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000,
            "description": "Current posted stock from inventory_storage_context, not available stock. Native optimistic concurrency rejects changes."
          },
          "price": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": "Native price value; use the value and type returned by the corresponding service."
          }
        },
        "required": [
          "productId",
          "storageId",
          "quantity",
          "expected",
          "price"
        ],
        "additionalProperties": false
      },
      "description": "Native lines value; use the value and type returned by the corresponding service."
    },
    "note": {
      "default": "",
      "description": "Native note value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 1000
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "from",
    "to",
    "lines",
    "note",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native result value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}