delete-product-variants
Deletes one or more variants from a Shopify product using product and variant IDs, useful for removing outdated or unwanted options from store inventory.
Instructions
Delete one or more variants from a 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": {
"productId": "<productId>",
"variantIds": "<variantIds>"
},
"name": "delete-product-variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Shopify product GID | |
| variantIds | Yes | Array of variant GIDs to delete |