We have added a new endpoint to get the statistics for the coupons and remove the statistics retrieval.
Now the coupons statistics can be retrieved by hitting the following endpoint
GET https://api.vauchar.com/coupons/<coupon_id>/stats
The output for this endpoint can be seen on our API doc by going here.
Why we have made this changes?
We always want to provide the detailed statistics for every redemptions made using the coupon. So making a dedicated endpoint to get the statistics for the coupon will enable us with the ability to give more details for redemptions made for the coupons. Very soon, we will be providing you with day to day analysis and interactive graphs for your redemptions, which help you track the redemptions in more detail.