batch_update_variations
Batch create, update, or delete product variations in one request to efficiently set up variable products.
Instructions
Batch create, update, or delete variations in a single request. More efficient than individual calls for setting up a variable product.
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": {
"product_id": "<product_id>"
},
"name": "batch_update_variations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| create | No | Variations to create | |
| delete | No | Variation IDs to delete | |
| fields | No | Comma-separated fields to return in response | |
| update | No | Variations to update | |
| product_id | Yes | Parent product ID |