Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 2.5 KB

NewCoupons.md

File metadata and controls

22 lines (19 loc) · 2.5 KB

TalonOne.Model.NewCoupons

Properties

Name Type Description Notes
UsageLimit int The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply.
DiscountLimit decimal The total discount value that the code can give. Typically used to represent a gift card value. [optional]
ReservationLimit int The number of reservations that can be made with this coupon code. [optional]
StartDate DateTime Timestamp at which point the coupon becomes valid. [optional]
ExpiryDate DateTime Expiration date of the coupon. Coupon never expires if this is omitted. [optional]
Limits List<LimitConfig> Limits configuration for a coupon. These limits will override the limits set from the campaign. Note: Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. [optional]
NumberOfCoupons int The number of new coupon codes to generate for the campaign. Must be at least 1.
UniquePrefix string DEPRECATED To create more than 20,000 coupons in one request, use Create coupons asynchronously endpoint. [optional]
Attributes Object Arbitrary properties associated with this item. [optional]
RecipientIntegrationId string The integration ID for this coupon's beneficiary's profile. [optional]
ValidCharacters List<string> List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. [optional]
CouponPattern string The pattern used to generate coupon codes. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. [optional]
IsReservationMandatory bool An indication of whether the code can be redeemed only if it has been reserved first. [optional] [default to false]
ImplicitlyReserved bool An indication of whether the coupon is implicitly reserved for all customers. [optional]

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