Variants Delete
tiendanube_variants_deleteDeletes a product variant by product and variant ID, but rejects deletion when it is the product's only variant.
Instructions
Delete a variant. The only variant of a product cannot be deleted. HTTP: DELETE /products/{product_id}/variants/{id} Required scope: write_products API version: 2025-03
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>",
"id": "<id>"
},
"name": "tiendanube_variants_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variant ID | |
| product_id | Yes | Product ID |