К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-prepare-order-composition-change.mdиндекс документации — /llms.txt

prepare_order_composition_change

Обновлено

Prepare one change to the composition of an open, unpaid order: remove_line, set_quantity, set_line_price (final unit price as a decimal string in the order currency) or add_line (a product by catalog_seq_num; change a variant by removing the line and adding the product again). Address lines by the line_no the order read returns. Returns the frozen scenario — the order version it is based on, the change, the lines and totals before and after, and payment_link_reissue (an unpaid payment link is reissued for the new amount) — to show the human before calling execute_order_composition_change. Refused for a closed or paid order. Changes nothing by itself.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Prepare one change to the composition of an open, unpaid order: remove_line, set_quantity, set_line_price (final unit price as a decimal string in the order currency) or add_line (a product by catalog_seq_num; change a variant by removing the line and adding the product again). Address lines by the line_no the order read returns. Returns the frozen scenario — the order version it is based on, the change, the lines and totals before and after, and payment_link_reissue (an unpaid payment link is reissued for the new amount) — to show the human before calling execute_order_composition_change. Refused for a closed or paid order. Changes nothing by itself."
domain"orders"
name"prepare_order_composition_change"
platform_version"1.0.24"
required_scopes["orders:write"]
risk"write"
scope"orders:write"
title"Prepare Order Composition Change"

Входные параметры

prepare_order_composition_change: inputSchema

Результат

null