wp_wc_create_coupon 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_create_coupon

Destructive

Create a coupon (percent, fixed_cart, or fixed_product)

Requires WooCommerce plugin.

Description

Launching a promotion used to mean clicking through the WooCommerce coupon editor, setting discount type, entering constraints, and saving — all before you could share the code. Easy MCP AI compresses that into a single AI prompt: specify the code, discount type (percentage, fixed cart, or fixed product), expiry, usage limits, and order minimums, and Easy MCP AI creates the coupon in your live WooCommerce store immediately. Supported across any MCP-compatible AI client, including Claude.ai, Gemini CLI, and more.

See it in action

Claude Desktop — MCP Connection
👤
Create a 15% off coupon with code 'WELCOME15' that expires on December 31 and can only be used 100 times.
🤖
Tool called wp_wc_create_coupon

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

Example Use Cases & Sample Prompts

  1. Create a welcome discount for new customers
    • Prompt: “Create a 10% off coupon with code ‘WELCOME10’, no expiry, limited to 1 use per customer.”
  2. Set up a flash sale coupon
    • Prompt: “Create a $5 fixed cart discount coupon with code ‘FLASH5’ that expires tomorrow.”
  3. Create a free shipping coupon
    • Prompt: “Create a coupon code ‘FREESHIP’ that gives free shipping on orders over $50.”

Frequently Asked Questions

What does wp_wc_create_coupon do?

Launching a promotion used to mean clicking through the WooCommerce coupon editor, setting discount type, entering constraints, and saving — all before you could share the code. Easy MCP AI compresses that into a single AI prompt: specify the code, discount type (percentage, fixed cart, or fixed product), expiry, usage limits, and order minimums, and Easy MCP AI creates the coupon in your live WooCommerce store immediately. Supported across any MCP-compatible AI client, including Claude.ai, Gemini CLI, and more.

How do I use wp_wc_create_coupon 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: "Create a 15% off coupon with code 'WELCOME15' that expires on December 31 and can only be used 100 times."

Do I need Easy MCP AI to use wp_wc_create_coupon?

Yes. wp_wc_create_coupon 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_create_coupon 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.