#unytebi-product-coupon
1 messages · Page 1 of 1 (latest)
Yes I have the coupon ID, but some were applied to the invoice and some to the invoice line item
can you share the coupon id so that I can have a look
WFUFCVEP
that's not a coupon id
that's a user-facing promotion code I assume
This is what I see on the coupon page for a coupon with a product restriction
If you're not seeing the same it likely means your coupon isn't restricted to a product
Do you have maybe the invoice id in_123?
I can find the coupon from it
I can share 2 separate invoices as reference
in_1IUDHPJeuviw0nusKDShdGkb
in_1K48JdJeuviw0nusVTZPLK3D
yeah that coupon has no product restrictions today
The first invoice has one line item and the discount was set globally. The second one had the discount at the line item level and only applied to that line item
So in this case there is no easy way to obtain the products used in the redemption? As I'm assuming since we applied to the global invoice it won't tag to the product?
I don't really understand the question I'm sorry
There isn't a page in the Dashboard that shows all products a coupon applied to account wide, there's nothing in the API for this either
Hm okay - do you have a suggestion to get this info? Or we would have to get this manually? In the dashboard we have 52 redemptions and we're trying to see which products this has been applied to. So since we didn't have a restriction there's no way to get this info?
I mean even with restrictions there's no way to get this info without looking at every single redemption
So really no, the only way is to use https://stripe.com/docs/api/invoices/list and for each invoice check if the coupon you're thinking of applied