#MYoussef-subscription

1 messages · Page 1 of 1 (latest)

lime mortar
covert narwhal
#

my case is i want to enable my site administrator to delete coupons from control panel but i want to check if this coupon is used before deleting it

#

i think it is a big process to list subscription then check for each one

#

what do you think ?

lime mortar
#

I understand, but I don't see any other option with the API.
In the Stripe dashboard if you look at a specific coupon you can see the list of subscription where it was applied:

covert narwhal
#

can i get this list of subscriptions by coupon id ?

lime mortar
#

What do you mean? In the dashboard you click on a specific coupon, and you will see the subscriptions were this specific coupon was applied.

covert narwhal
#

yes i want to get the list of subscriptions by coupon id from API, can i do that?

lime mortar