Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
PATCH/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· uuidrequired
The coupon ID.

Body

discountValuenumber
Update the discount value.
maxUsesinteger
Update the total use cap.
maxUsesPerUserinteger
Update the per-customer use cap.
validFromstring· date-time
Earliest valid date.
validUntilstring· date-time
Latest valid date.
isActiveboolean
Enable or disable the coupon.