wp_wc_delete_product_variation is an MCP tool for WooCommerce — available inside Easy MCP AI, the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →wp_wc_delete_product_variation
DestructivePermanently delete a variation (force=true, immediate, irreversible)
Requires WooCommerce plugin.
Description
When a variation is discontinued or was added by mistake, wp_wc_delete_product_variation removes it permanently in one call. Deletion is immediate and irreversible (force=true) — there's no trash for variations. Past orders that included this variation are preserved, so historical reporting stays intact. Combine with wp_wc_list_product_variations to confirm IDs before deleting, or with wp_wc_batch_update_variations to delete several variations under one parent in a single batch.
See it in action
wp_wc_delete_product_variation Done. I've used wp_wc_delete_product_variation to complete that for you.
Example Use Cases & Sample Prompts
- Discontinue a variation
- Prompt: “Delete variation 412 from product 380 — we discontinued that size.”
- Remove a mistaken variation
- Prompt: “Delete variation 765 from product 700 — it was created by accident.”
- Color cleanup
- Prompt: “Delete the ‘red’ variation 234 from product 88 — we’re dropping that color.”
- Stale SKU removal
- Prompt: “List variations under product 500, then delete the one with SKU ‘OLD-XL-2022’.”
- Final cleanup before relaunch
- Prompt: “Delete variation 1500 of product 1200 ahead of the catalog refresh.”
Frequently Asked Questions
What does wp_wc_delete_product_variation do?
When a variation is discontinued or was added by mistake, wp_wc_delete_product_variation removes it permanently in one call. Deletion is immediate and irreversible (force=true) — there's no trash for variations. Past orders that included this variation are preserved, so historical reporting stays intact. Combine with wp_wc_list_product_variations to confirm IDs before deleting, or with wp_wc_batch_update_variations to delete several variations under one parent in a single batch.
How do I use wp_wc_delete_product_variation with my AI assistant?
Install Easy MCP AI and the WooCommerce plugin, generate an API token in your dashboard, and connect your AI client. Then describe what you want in natural language — for example: "Delete variation 412 from product 380 — we discontinued that size."
Do I need Easy MCP AI to use wp_wc_delete_product_variation?
Yes. wp_wc_delete_product_variation is bundled inside Easy MCP AI as part of the WooCommerce integration. Install the free plugin, add WooCommerce, connect your AI, and this tool is available immediately.
More WooCommerce Tools
Update the status of many orders, or clear test orders, in one go
Change prices, stock, or status across many products in one go
Update prices or stock across all of a product's options at once
Create a coupon (percent, fixed_cart, or fixed_product)
Create a new customer account
Create an order programmatically
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_wc_delete_product_variation and all WooCommerce tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.