Overview
Coupon codes can be used by customers to redeem coupons online.
Properties
A Coupon Code object can have all or a subset of these properties:
id
(String): Coupon Code ID.code
(String): The text of the coupon code.redemptions
(Number): The number of times this coupon has been redeemed.expirationDate
(String): Expiration date and time.createdDate
(String): Date and time when the coupon was created.isActive
(Boolean): Active if True.minimumAmount
(Number): Minimum ammount.firstTimeTransaction
(Boolean): If True, this coupon can only be used by a new customer on their first purchase.getCustomers
: An array of objects with customers' names and email addresses.metadata
(Object Array): Custom properties stored as array of key-value pairs.