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

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

update_catalog_item

Обновлено

Patch a catalog item (sparse — omitted fields are untouched). Requires `etag` for optimistic concurrency and `idempotency_key` for durable receipt replay. A nonempty patch returns its canonical committed receipt identically on first success and exact replay. Use `get_catalog_item` for the current RU or COM price presentation and payment-provider availability. Optional `zone` selects that current presentation for an empty no-op patch; omitted defaults to RU. To configure selectable POS modifiers, patch the canonical nested `variants` object; retained keys are stable addresses, so an illegal key rewrite is rejected by the canonical writer. Reach is two INDEPENDENT booleans you may patch separately: `is_active:false` switches the item off entirely (purchasable by nothing); `is_public:false` takes it out of the showcase and storefront while it stays fully payable through its direct link. `is_create_order_on_click:true` makes a click on the item create the order at once (a deferred-payment item cannot switch it off). To configure a booking service, patch nested `booking`: `enabled`, `mode` (`hourly`/`daily`), `duration_value`, `buffer_minutes`, and `resource_ids` (the resource numbers, seq_num — `id` of booking_list_resources). Duration is in hours for hourly mode (1 = 60 minutes), days for daily mode. Enabling booking atomically moves an ordinary catalog item to booking scope; event items cannot be converted. `external_refs` holds the item's ids in outside systems and is replaced whole: `{getcourse: {offer_id}}` is the GetCourse offer (digits) that a GetCourse payment link and a GetCourse CRM deal use instead of the title; `null` clears it.

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

required_scopes: ALL.

ПолеЗначение
description"Patch a catalog item (sparse — omitted fields are untouched). Requires `etag` for optimistic concurrency and `idempotency_key` for durable receipt replay. A nonempty patch returns its canonical committed receipt identically on first success and exact replay. Use `get_catalog_item` for the current RU or COM price presentation and payment-provider availability. Optional `zone` selects that current presentation for an empty no-op patch; omitted defaults to RU. To configure selectable POS modifiers, patch the canonical nested `variants` object; retained keys are stable addresses, so an illegal key rewrite is rejected by the canonical writer. Reach is two INDEPENDENT booleans you may patch separately: `is_active:false` switches the item off entirely (purchasable by nothing); `is_public:false` takes it out of the showcase and storefront while it stays fully payable through its direct link. `is_create_order_on_click:true` makes a click on the item create the order at once (a deferred-payment item cannot switch it off). To configure a booking service, patch nested `booking`: `enabled`, `mode` (`hourly`/`daily`), `duration_value`, `buffer_minutes`, and `resource_ids` (the resource numbers, seq_num — `id` of booking_list_resources). Duration is in hours for hourly mode (1 = 60 minutes), days for daily mode. Enabling booking atomically moves an ordinary catalog item to booking scope; event items cannot be converted. `external_refs` holds the item's ids in outside systems and is replaced whole: `{getcourse: {offer_id}}` is the GetCourse offer (digits) that a GetCourse payment link and a GetCourse CRM deal use instead of the title; `null` clears it."
domain"catalog"
name"update_catalog_item"
platform_version"1.0.34"
required_scopes["catalog:write"]
risk"write"
scope"catalog:write"
title"Update Catalog Item"

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

update_catalog_item: inputSchema

Результат

update_catalog_item: outputSchema