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

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

set_related_items

Обновлено

Set the «С этим берут» list of a catalog item — the items offered together with it, shown to the buyer as a carousel. `catalog_id` is the item's number (its seq_num, the `id` get_catalog returns); `related_ids` are the numbers of the offered items, in carousel order. The list REPLACES the stored one: [] clears it, the same list again changes nothing. Refused with SALE_CONFIG_INVALID, every broken rule listed with its own recipe, when the item is offered with itself (RELATED_SELF) or an offered item is not ready for sale (RELATED_NOT_SALE_READY). Returns the item as get_catalog_item reads it: `related[]` in carousel order, `is_visible:false` on an offered item the buyer does not see now (switched off), and the new `etag` — the change moves it.

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

required_scopes: ALL.

ПолеЗначение
description"Set the «С этим берут» list of a catalog item — the items offered together with it, shown to the buyer as a carousel. `catalog_id` is the item's number (its seq_num, the `id` get_catalog returns); `related_ids` are the numbers of the offered items, in carousel order. The list REPLACES the stored one: [] clears it, the same list again changes nothing. Refused with SALE_CONFIG_INVALID, every broken rule listed with its own recipe, when the item is offered with itself (RELATED_SELF) or an offered item is not ready for sale (RELATED_NOT_SALE_READY). Returns the item as get_catalog_item reads it: `related[]` in carousel order, `is_visible:false` on an offered item the buyer does not see now (switched off), and the new `etag` — the change moves it."
domain"catalog"
name"set_related_items"
platform_version"1.0.34"
required_scopes["catalog:write"]
risk"write"
scope"catalog:write"
title"Set Related Items"

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

set_related_items: inputSchema

Результат

set_related_items: outputSchema