Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.37 KB

File metadata and controls

24 lines (16 loc) · 1.37 KB

Coupon

Properties

Name Type Description Notes
couponId Integer [optional]
userId Integer [optional]
label String This is the code a buyer would enter at checkout. [optional]
discount BigDecimal The discount to apply. Either a fixed value, or a decimal percent. Depends on the 'percent' field. [optional]
percent Boolean If true, the 'discount' field represents a decimal percentage. If false, the 'discount' field represents an absolute $ USD value. [optional]
allContentTypes List<String> A list of content types for which this coupon code applies to without requiring an entry. Eg. if you created the coupon with the 'All resources' option selected, this list will include &quot;resource&quot;. [optional]
createdAt Integer A UNIX timestamp. [optional]
expiresAt Integer A UNIX timestamp. [optional]
maxUses Integer [optional]
maxPerUserUses Integer [optional]
uses Integer [optional]
active Boolean Whether or not the coupon code is active and can still be used at checkout. Accounts for the expiry date if set and the max use limit if set. [optional]