delete_store_product_variant
Permanently remove a specific variant from a product in an e-commerce store. Requires store, product, and variant IDs.
Instructions
Permanently delete a single variant from a product in a store.
This cannot be undone. A product must retain at least one variant, so deleting its last variant may be rejected by the API.
Args: store_id: E-commerce store ID. product_id: Product ID that owns the variant. variant_id: Variant ID to delete.
Returns: JSON confirming deletion (empty body on success).
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_id": "<store_id>",
"product_id": "<product_id>",
"variant_id": "<variant_id>"
},
"name": "delete_store_product_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| store_id | Yes | ||
| product_id | Yes | ||
| variant_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |