/api/v1/coupons/{id}Update one or more fields on a coupon. All body fields are optional.
Requires the Coupons:Edit permission.
Path parameters
idstring· uuidrequiredThe coupon ID.
Body
discountValuenumberUpdate the discount value.
maxUsesintegerUpdate the total use cap.
maxUsesPerUserintegerUpdate the per-customer use cap.
validFromstring· date-timeEarliest valid date.
validUntilstring· date-timeLatest valid date.
isActivebooleanEnable or disable the coupon.