# set\_related\_items

Source: <https://telegafirst.com/docs/mcp-tool-set-related-items>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 787d7943be59f72373ce6e7868c0c4106cfc25e27cff91ceb3d96a6827bd1a7d
Version: 5

# 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](https://telegafirst.com/docs/schema-64fb9a45e5102a0800160d7c442174a5c0f8435b4fbf645b0daa413b2a423655)

## Результат

[set\_related\_items: outputSchema](https://telegafirst.com/docs/schema-0b6fc141bfc42492b4ffa6bad68682bbf5edddc38eaf061e347d31a3a7f8c944)
