Name | Type | Description | Notes |
---|---|---|---|
usage_limit | int | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | |
discount_limit | float | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] |
reservation_limit | int | The number of reservations that can be made with this coupon code. | [optional] |
start_date | datetime | Timestamp at which point the coupon becomes valid. | [optional] |
expiry_date | datetime | Expiration date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional] |
attributes | object | Arbitrary properties associated with this item. | [optional] |
recipients_integration_ids | list[str] | The integration IDs for recipients. | |
valid_characters | list[str] | 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] |
coupon_pattern | str | The pattern used to generate coupon codes. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. | [optional] |