I have an app already running where users can order for groceries.
But I want to implement a discount service where a coupon code will be generated, and that One coupon code will be used by all users to get discount on all items.
Also, the coupon code will be deactivated after a particular time, then a new one created later.