create_selection
Create a named Ozon product collection around an initial SKU, returning its generated UUID. Add more products later or publish the collection to your public profile.
Instructions
[GATED by writes_enabled] Create a «Подборка» around one product and
return it with its uuid. More products go in with add_to_selection().
public defaults to false on purpose: publishing puts it on the account
owner's public profile, so ask them before passing true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | A product SKU ("3077454533"). For apparel use the variant SKU, not the base one. | |
| name | Yes | Name of the selection, as a person reads it. | |
| public | No | True publishes it to the account's public profile (goes through moderation). False keeps it visible only to whoever has the link. | |
| description | No | Optional text shown under the name. |
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 |