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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sku": "<sku>",
"list_id": "<list_id>"
},
"name": "set_list_membership"
}
}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 |