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

Заказы · Параметры · Изменение

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

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

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

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

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

Native Order Workspace preferences_update. 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
language
Язык результата или локализуемого значения согласно схеме. необязательно · string · варианты auto, en, ru
orderList
Native orderList value. Resolve existing identifiers and read the current native state before changes. необязательно · object
storage
Native storage value. Resolve existing identifiers and read the current native state before changes. необязательно · object
Что вернёт команда
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_preferences_update
Вход · 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."
    },
    "language": {
      "description": "Native language value. Resolve existing identifiers and read the current native state before changes.",
      "type": "string",
      "enum": [
        "auto",
        "en",
        "ru"
      ]
    },
    "orderList": {
      "description": "Native orderList value. Resolve existing identifiers and read the current native state before changes.",
      "type": "object",
      "properties": {
        "desktop": {
          "description": "Native desktop value. Resolve existing identifiers and read the current native state before changes.",
          "type": "object",
          "properties": {
            "version": {
              "$ref": "#/$defs/_mcp0"
            },
            "visible": {
              "$ref": "#/$defs/_mcp1"
            },
            "widths": {
              "description": "Native widths value. Resolve existing identifiers and read the current native state before changes.",
              "type": "object",
              "properties": {
                "customer": {
                  "description": "Native customer value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "address": {
                  "description": "Native address value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "courier": {
                  "description": "Native courier value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "items": {
                  "description": "Native items value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "due": {
                  "description": "Native due value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "amount": {
                  "description": "Native amount value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "payment": {
                  "description": "Native payment value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "status": {
                  "description": "Native status value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                },
                "age": {
                  "description": "Native age value. Resolve existing identifiers and read the current native state before changes.",
                  "type": "integer",
                  "minimum": 44,
                  "maximum": 480
                }
              },
              "additionalProperties": false
            }
          },
          "required": [
            "visible"
          ],
          "additionalProperties": false
        },
        "mobile": {
          "description": "Native mobile value. Resolve existing identifiers and read the current native state before changes.",
          "type": "object",
          "properties": {
            "version": {
              "$ref": "#/$defs/_mcp0"
            },
            "visible": {
              "$ref": "#/$defs/_mcp1"
            }
          },
          "required": [
            "visible"
          ],
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "storage": {
      "description": "Native storage value. Resolve existing identifiers and read the current native state before changes.",
      "type": "object",
      "properties": {
        "locationId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
          "description": "Native locationId value. Resolve existing identifiers and read the current native state before changes."
        },
        "storageId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
          "description": "Native storageId value. Resolve existing identifiers and read the current native state before changes."
        }
      },
      "required": [
        "locationId",
        "storageId"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "requestId"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "description": "Native version value. Resolve existing identifiers and read the current native state before changes.",
      "type": "number",
      "const": 2
    },
    "_mcp1": {
      "maxItems": 9,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "customer",
          "address",
          "courier",
          "items",
          "due",
          "amount",
          "payment",
          "status",
          "age"
        ]
      },
      "description": "Native visible value. Resolve existing identifiers and read the current native state before changes."
    }
  }
}
Выход · 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"
          }
        }
      ]
    }
  }
}