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-only

Get 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

Claude Desktop — MCP Connection
👤
Get variation 412 of product 380 — I need its current sale price and stock.
🤖
Tool called wp_wc_get_product_variation

Done. I've used wp_wc_get_product_variation to complete that for you.

Example Use Cases & Sample Prompts

  1. Check a variation’s price and stock
    • Prompt: “Get variation 412 of product 380 — I need its current sale price and stock.”
  2. Verify SKU before bulk import
    • Prompt: “Show me the SKU and attributes for variation 1500 on product 1200.”
  3. Inspect variation image
    • Prompt: “What image is set on variation 234 of product 88?”
  4. Confirm sale state
    • Prompt: “Is variation 765 of product 700 currently on sale, and what’s the regular price?”
  5. 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.

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.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.