add_products_to_collection
Add existing store products to a specific collection by UUID. If the collection is synced to a sales channel, the products are added there too.
Instructions
Add one or more products (by uuid) to a collection. The products must already be associated with the store. If the collection is synced to a channel, the products are added there too.
[#e8080a]
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": {
"store_uuid": "<store_uuid>",
"collection_uuid": "<collection_uuid>",
"product_uuids": "<product_uuids>"
},
"name": "add_products_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| store_uuid | Yes | ||
| product_uuids | Yes | ||
| collection_uuid | Yes |