wc_delete_product_variation tool reference for StifLi Flex MCP
Writedeletes a variation using `product_id` and `variation_id`, with ownership validation.
Description
deletes a variation using `product_id` and `variation_id`, with ownership validation.
What it is for
- Cleaning obsolete variations.
- Avoiding deletion of variations linked to a different parent product.
Example use case
removing a discontinued option.
Sample prompt
Delete variation ID 9901 for product ID 410 because that color-size combination is discontinued.
Sample response
{
"tool": "wc_delete_product_variation",
"status": "ok",
"updated": true
}
What does wc_delete_product_variation do?
deletes a variation using `product_id` and `variation_id`, with ownership validation.
Does wc_delete_product_variation modify store data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with edit_products and the active MCP profile.
How should wc_delete_product_variation be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
