Unique Time Based Coupons
In FluentCart, can you create a coupon for a single user automatically for a limited time?
For example, if a user does whatever action, we can offer them a 20% discount coupon for the next 24 hours. If a user subscribes to a new email list, we can automatically email them a unique coupon code created just for them, which can only be used once and has a time limit of 24 hours.
sure. Just add expiry date and limit per user.
https://docs.fluentcart.com/guide/marketing-sales-tools/creating-managing-coupons
for doing all the things you share, you will need automation though.
Eg.: the typical birthday coupon you can send to an specific user and with a specific duration.
Trigger: birthday > create coupon for the user with expiry date βxβ
Jorge de los ReyesΒ how do set the time limit for 24hrs or 48?
There is a schedule for dates buts not useful. so need to set up trigger (new user) then set up 24 hours to use coupon.
Adam GeorgeΒ I'd probably approach it differently.
The built-in schedule is meant for fixed dates, but if you need a coupon that's valid for 24 or 48 hours after a user registers, you can automate it instead.
When the New User trigger fires, update the coupon's end_date via the FluentCart REST API (or PHP) to now + 24 hours or now + 48 hours. The Coupons API supports updating start_date and end_date, so you can dynamically set the expiry based on the trigger rather than a fixed calendar date. That should achieve exactly the behavior you're after.