v1
latestOpenAPI 3.0.12026-07-26381328555.2 KBUpdate Coupon Set
Update a CouponSet. You can not update the Code or ID once the set is created.
Path parameters
Query parameters
limits which fields are returned in the response body
Request body
ReadOnly sum of all redemptions for this coupon. Use "counts" response group.
Signifies that the coupon has not been exported and can be updated ReadOnly
Count of associated couponCodes. Must use "counts" response group to get this value ReadOnly
Determines if the coupon is a persisted list of codes (static) or a list based on generated specification (dynamic).
Unique tenant supplied identifier. Used as the prefix for generated sets. Required System generated if left null.
Date and time that the coupon codes becomes expired
Internal unique identifier of the couponset. System-supplied and read-only.
Maximum number of times any code can de used. Must be null or >= 1 (0 is invalid). Defaults to 1 on creation if null.
Maximum number of times any single user can redeem any code. Must be null or >= 1 (0 is invalid). Defaults to 1 on creation only when legacy tenant behavior is enabled; otherwise null is preserved.
CouponSet Name
ReadOnly count of all redemptions for this coupon set.
Sets the number of codes to generate for dynamic coupons Required when CouponCodeType is "Dynamic"
Date and time that the coupon codes becomes active
CouponSet status which can be: Active, Expired, Inactive System-supplied and read-only.
Response
OK
ReadOnly sum of all redemptions for this coupon. Use "counts" response group.
Signifies that the coupon has not been exported and can be updated ReadOnly
Count of associated couponCodes. Must use "counts" response group to get this value ReadOnly
Determines if the coupon is a persisted list of codes (static) or a list based on generated specification (dynamic).
Unique tenant supplied identifier. Used as the prefix for generated sets. Required System generated if left null.
Date and time that the coupon codes becomes expired
Internal unique identifier of the couponset. System-supplied and read-only.
Maximum number of times any code can de used. Must be null or >= 1 (0 is invalid). Defaults to 1 on creation if null.
Maximum number of times any single user can redeem any code. Must be null or >= 1 (0 is invalid). Defaults to 1 on creation only when legacy tenant behavior is enabled; otherwise null is preserved.
CouponSet Name
ReadOnly count of all redemptions for this coupon set.
Sets the number of codes to generate for dynamic coupons Required when CouponCodeType is "Dynamic"
Date and time that the coupon codes becomes active
CouponSet status which can be: Active, Expired, Inactive System-supplied and read-only.