wp_wc_get_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_get_product_variation
Read-onlyGet a single variation by parent product ID and variation ID
Requires WooCommerce plugin.
Description
Variations carry per-size, per-color, per-SKU price, stock, and image data on variable products — and they're often the bottleneck when reviewing a store's catalog. wp_wc_get_product_variation returns the full WC REST v3 variation object: id, sku, regular_price, sale_price, price, on_sale, status, stock_status, stock_quantity, manage_stock, weight, dimensions, attributes, image, description, downloadable, virtual, and meta_data. Pair with wp_wc_get_product to confirm parent context, then drill into the variation in a single conversational step. This is one of 46 WooCommerce tools in Easy MCP AI — together they cover the full catalog, order, customer, attribute, and reporting surface.
See it in action
wp_wc_get_product_variation Done. I've used wp_wc_get_product_variation to complete that for you.
Example Use Cases & Sample Prompts
- Check a variation’s price and stock
- Prompt: “Get variation 412 of product 380 — I need its current sale price and stock.”
- Verify SKU before bulk import
- Prompt: “Show me the SKU and attributes for variation 1500 on product 1200.”
- Inspect variation image
- Prompt: “What image is set on variation 234 of product 88?”
- Confirm sale state
- Prompt: “Is variation 765 of product 700 currently on sale, and what’s the regular price?”
- Pre-update review
- Prompt: “Show me the full variation 999 of product 500 before I update its weight.”
Frequently Asked Questions
What does wp_wc_get_product_variation do?
Variations carry per-size, per-color, per-SKU price, stock, and image data on variable products — and they're often the bottleneck when reviewing a store's catalog. wp_wc_get_product_variation returns the full WC REST v3 variation object: id, sku, regular_price, sale_price, price, on_sale, status, stock_status, stock_quantity, manage_stock, weight, dimensions, attributes, image, description, downloadable, virtual, and meta_data. Pair with wp_wc_get_product to confirm parent context, then drill into the variation in a single conversational step. This is one of 46 WooCommerce tools in Easy MCP AI — together they cover the full catalog, order, customer, attribute, and reporting surface.
How do I use wp_wc_get_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: "Get variation 412 of product 380 — I need its current sale price and stock."
Do I need Easy MCP AI to use wp_wc_get_product_variation?
Yes. wp_wc_get_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_get_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.