Update Coupon
Updates an existing coupon in WooCommerce.
PUT
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
numberrequired
Unique numeric ID of the coupon to update.
string
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