Create Coupon
Creates a new coupon in WooCommerce.
POST
Body
Arguments
stringrequired
Coupon code string.
string
Discount amount as a string.
string
Coupon discount type such as percent, fixed_cart, or fixed_product.
string
Coupon description.
date
Expiration date for the coupon.
boolean
boolean
string
string
boolean
number
number
array of number
array of number
array of string
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.