delete_commerce_variant
Remove one variant from a product and drop its stock counter.
The product's options are left in place, so the combination can be re-added later.
Args: project_id: The project ID. product_id: The product ID. variant_id: The variant ID to remove.
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": {
"project_id": "<project_id>",
"product_id": "<product_id>",
"variant_id": "<variant_id>"
},
"name": "delete_commerce_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | ||
| project_id | Yes | ||
| variant_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |