Documentación/tools reference

Coupons

Pro

Create, edit, and list WooCommerce coupons with all restrictions.

store_mcp_list_coupons

List coupons with filters. Tier: Pro.

store_mcp_get_coupon

Get a coupon by ID or code. Tier: Pro.

store_mcp_create_coupon

Create a new coupon. Tier: Pro.

Parameters (most common)

ParameterTypeRequiredDescription
codestringyesCoupon code
discount_typestringnopercent, fixed_cart, fixed_product
amountstringnoDiscount amount
individual_usebooleannoOnly one coupon per cart
usage_limitintegernoTotal usage limit
usage_limit_per_userintegernoUsage limit per customer
date_expiresstringnoISO expiry date
minimum_amountstringnoMinimum cart total
product_idsarraynoValid only for these products
excluded_product_idsarraynoNot valid for these products
free_shippingbooleannoGrants free shipping

Example prompt

"Create a 15% coupon code PASCUA26 valid until April 30 with a $30 minimum."

store_mcp_update_coupon

Update an existing coupon. Tier: Pro.

store_mcp_delete_coupon

Delete a coupon. Tier: Pro.