set_list_membership
Add or remove a product from an Ozon collection or wishlist by providing SKU and list ID. Use the add flag to control whether the product is inserted or removed.
Instructions
[GATED by writes_enabled] Put a product into a collection or wishlist,
or take it out. Ozon reports no outcome for this, so detail names the read
that confirms it — get_lists(sku).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | True puts the product in the list, False takes it out. | |
| sku | Yes | A product SKU ("3077454533"). For apparel use the variant SKU, not the base one. | |
| list_id | Yes | Target list, from get_lists()[].list_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| detail | No |