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
DestructiveCreate 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
wp_wc_create_coupon Done. I've used wp_wc_create_coupon to complete that for you.
Example Use Cases & Sample Prompts
- Create a welcome discount for new customers
- Prompt: “Create a 10% off coupon with code ‘WELCOME10’, no expiry, limited to 1 use per customer.”
- Set up a flash sale coupon
- Prompt: “Create a $5 fixed cart discount coupon with code ‘FLASH5’ that expires tomorrow.”
- 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.
More WooCommerce Tools
Create a new customer account
Create an order programmatically
Add a note to an order
Create a product (simple, variable, grouped, or external)
Create a variation for a variable product
Create a webhook for a specific event topic
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_wc_create_coupon 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.