Coupon abilities let your AI agent manage the full lifecycle of WooCommerce discount coupons — creating percentage or fixed-amount codes, setting expiry dates and usage limits, updating live coupons, and reviewing current usage counts. All coupon abilities require an active Pro plan, WooCommerce to be installed and active, and theDocumentation Index
Fetch the complete documentation index at: https://docs.maxicore.ai/llms.txt
Use this file to discover all available pages before exploring further.
manage_woocommerce capability on the connected WordPress user.
All WooCommerce coupon abilities require WooCommerce to be active and a Pro plan license. The connected WordPress user must have the
manage_woocommerce capability — typically assigned to the Shop Manager or Administrator role.All coupon abilities
| Ability | Description | Capability | Plan |
|---|---|---|---|
maxi/create-coupon | Create a coupon with discount type, amount, limits, and restrictions. | manage_woocommerce | Pro |
maxi/get-coupon | Get coupon details by ID or coupon code, including usage stats. | manage_woocommerce | Pro |
maxi/update-coupon | Update coupon amount, expiry, limits, or restrictions. Send only fields to change. | manage_woocommerce | Pro |
maxi/delete-coupon | Delete a coupon permanently. | manage_woocommerce | Pro |
maxi/list-coupons | List coupons with optional filters. | manage_woocommerce | Pro |
Key ability examples
maxi/create-coupon
Create a new discount coupon. Choose from three discount types, set an optional expiry date, and cap total usage or usage per customer.| Type | Behavior |
|---|---|
percent | Percentage off the cart or product total |
fixed_cart | Fixed amount off the entire cart |
fixed_product | Fixed amount off each qualifying product |
maxi/get-coupon
Retrieve a coupon by its numeric ID or by its coupon code. The response includes usage statistics — how many times the coupon has been used (usage_count) and the list of customer user IDs or email addresses who used it (used_by).