delete_variant
Remove a product variant from a Medusa v2 store by providing its product ID and variant ID, keeping product catalogs accurate and up to date.
Instructions
Delete a variant 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": {
"product_id": "<product_id>",
"variant_id": "<variant_id>"
},
"name": "delete_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | ||
| variant_id | Yes |