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. | [optional] |
discountLimit | float | 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] |
attributes | object | Optional property to set the value of custom coupon attributes. They are defined in the Campaign Manager, see Managing attributes. Coupon attributes can also be set to mandatory in your Application settings. If your Application uses mandatory attributes, you must use this property to set their value. | [optional] |
batchID | string | The ID of the batch the coupon(s) belong to. | [optional] |