Is there a way to auto delete expired discount coupons to avoid 20 million coupon limit?

New Member
2 0 0

We have implemented apis to create coupons to individual customers who are abandoning the carts, the coupon expires in 2 days.

While we are able to create and use discount coupons via apis. We noticed that there is a limit of 20 million coupons per store. Now we don't want to get in scenario where our shopify app end up using all of store's coupon quota. 

So I have two questions regarding this, if someone can answer this, It will be of great help:

1. Does expired coupons are also considered in this 20 million coupons limit?

2. Is there a way to auto-delete coupons once it expires? Or we have to manually run a scheduler and do it?