Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.58 KB

File metadata and controls

21 lines (18 loc) · 1.58 KB

# PostV2ResourcesCreatorCouponsRequest

Properties

Name Type Description Notes
type string Must be 'perecent'.
discount float
label string The trailing part of the coupon code (without '{user_id}-').
do_expiry bool Whether or not to respect the 'expiry_date' field. No expiry date is set otherwise. [optional]
expiry_date string [optional]
limited_uses bool Whether or not to respect the 'max_uses' field. No max use limit is set otherwise. [optional]
max_uses int [optional]
limited_user_uses bool Whether or not to respect the 'max_per_user_uses' field. No max uses per user limit is set otherwise. [optional]
max_per_user_uses int [optional]
all_content_types 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]

[Back to Model list] [Back to API list] [Back to README]