MCP Control
Заказы · Изменение

Заказы · Цены · Предложения · Сохранение

orders_workspace_price_offers_save
Упакованный заказ на стойке

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

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

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

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

Native Order Workspace price_offers_save. Uses the same current company handlers and permissions as order-web.web.app. Read every hash-bound chunk and follow any native pagination. Saved configuration, queued work and provider confirmation are distinct. Recover uncertain writes with orders_workspace_get_operation and the original request ID.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
orderId
Идентификатор выбранного заказа. обязательно по схеме · string
lineIds
Native lineIds value. Resolve existing identifiers and read the current native state before changes. обязательно по схеме · array · до элементов 200
confirmation
Native confirmation value. Resolve existing identifiers and read the current native state before changes. обязательно по схеме · string
selectedLineIds
Native selectedLineIds value. Resolve existing identifiers and read the current native state before changes. обязательно по схеме · array · до элементов 200
Что вернёт команда
companyId
Verified current native company. обязательно по схеме · string
result
Native operation receipt or hash-bound result chunk. Queued, completed and provider-confirmed states have distinct meanings. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа orders_workspace_price_offers_save
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Stable request ID for this exact operation. Preserve after uncertainty; recover with get_operation."
    },
    "orderId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Native orderId value. Resolve existing identifiers and read the current native state before changes."
    },
    "lineIds": {
      "minItems": 1,
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$"
      },
      "description": "Native lineIds value. Resolve existing identifiers and read the current native state before changes."
    },
    "confirmation": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Native confirmation value. Resolve existing identifiers and read the current native state before changes."
    },
    "selectedLineIds": {
      "minItems": 1,
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$"
      },
      "description": "Native selectedLineIds value. Resolve existing identifiers and read the current native state before changes."
    }
  },
  "required": [
    "requestId",
    "orderId",
    "lineIds",
    "confirmation",
    "selectedLineIds"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Verified current native company."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native operation receipt or hash-bound result chunk. Queued, completed and provider-confirmed states have distinct meanings."
    }
  },
  "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"
          }
        }
      ]
    }
  }
}