set_selection_items
Replace the full product list of an Ozon selection with specified SKUs. Use an empty list to empty the selection, and verify returned item count.
Instructions
[GATED by writes_enabled] Set which products a selection holds, as the
whole list. For "add this" / "take that out" use add_to_selection() and
remove_from_selection(), which read the current products first; this one
replaces them, and an empty list empties the selection.
Products must be in favorites first — Ozon draws only from there, and a
product that is not is dropped silently, so check the items count that
comes back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skus | Yes | The products the selection should hold, in full — not an addition. | |
| uuid | Yes | The selection, from list_selections()[].uuid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | The link Ozon's own «Скопировать ссылку» gives; it carries the owner id and needs it to work. | |
| name | No | ||
| uuid | Yes | ||
| cover | No | ||
| items | No | How many products it holds; selection_products() lists them. | |
| public | No | ||
| status | No | ||
| owner_id | No | ||
| description | No |