With Talon.One, you can allow customers to save promotional coupons in a coupon wallet. This lets customers collect codes they find online and attach the codes to their account for use on future orders.
To accomplish this, and the related tasks, we have three endpoints:
For creating a new coupon reservation. As long as the coupon is valid, is reservable and its use won't exceed any set limits, a row will be added to the reservation table for both coupon and recipient, linking them. Regular coupons are automatically reservable, coupons created for a specific user are not reservable.
For the given customer integration ID, return a full list of coupons attached to this account. With this you can generate a list of all coupons for the given customer, for example, to show on that customer's coupon wallet page.
For a given coupon code, return a list of customers who have this coupon reserved to their account.