#Akram - coupons
1 messages · Page 1 of 1 (latest)
Hi! Can you clarify what you are trying to do? The applies_to property is here: https://stripe.com/docs/api/coupons/object#coupon_object-applies_to
Do you have the coupon ID? Then use this to retrieve the coupon: https://stripe.com/docs/api/coupons/retrieve
And you will get access to the property applies_to that contains a list of products ID.
@icy copper it's not present
You are right, sorry! As mentioned in the documentation:
This field is not included by default. To include it in the response, expand the applies_to field.
You can learn more about expand here: https://stripe.com/docs/expand