Get a coupon collection by id
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
id
Id of the collection to return
Response
Coupon collection
createdAt
Datetime on which the collection was created.
defaultCoupon
The default coupon of the collection.
id
The id of the collection.
name
The name of the collection.
remainingCoupons
Number of coupons that have not been sent yet.
totalCoupons
Total number of coupons in the collection.
expirationDate
Expiration date for the coupon collection in RFC3339 format.
remainingCouponsAlert
If present, an email notification is going to be sent when the total number of available coupons falls below the defined threshold.
remainingDaysAlert
If present, an email notification is going to be sent the defined amount of days before to the expiration date.