create_coupon
Generate discount codes for WooCommerce stores by specifying coupon type, amount, expiration, and usage limits to boost sales and customer retention.
Instructions
Create a coupon. discount_type: percent, fixed_cart, fixed_product. Amount as string (e.g. '10' for 10% or $10).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| discount_type | No | percent | |
| amount | No | 10 | |
| free_shipping | No | ||
| expiry_date | No | ||
| usage_limit | No | ||
| minimum_amount | No | ||
| individual_use | No |