Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.53 KB

File metadata and controls

25 lines (17 loc) · 1.53 KB

PostV2ResourcesCreatorCouponsRequest

Properties

Name Type Description Notes
type String Must be 'perecent'.
discount BigDecimal
label String The trailing part of the coupon code (without '{user_id}-').
doExpiry Boolean Whether or not to respect the 'expiry_date' field. No expiry date is set otherwise. [optional]
expiryDate String [optional]
limitedUses Boolean Whether or not to respect the 'max_uses' field. No max use limit is set otherwise. [optional]
maxUses Integer [optional]
limitedUserUses Boolean Whether or not to respect the 'max_per_user_uses' field. No max uses per user limit is set otherwise. [optional]
maxPerUserUses Integer [optional]
allContentTypes List<String> If a content type is included, all of the creator's content (of that type) can be used against this coupon. Support values include: 'resource', 'addon', and 'bundle' [optional]
resources String A comma-separated list of resource IDs which this coupon can be used against. [optional]
addons String A comma-separated list of addon IDs which this coupon can be used against. [optional]
bundles String A comma-separated list of bundle IDs which this coupon can be used against. [optional]