#tomh0027
1 messages · Page 1 of 1 (latest)
Hello! When retrieveing or creating the coupon did you make sure to expand applies_to? It's not expanded by default so you'll need to make sure to specifically say you want it expanded https://stripe.com/docs/expand
is there a way I can expland applied_to of coupon when list promotion code?
await stripe.promotionCodes.list({ code, })
What you could do is expand data.coupon.applies_to
That'll expand the coupon + applies_to that's tied to each promotion code
thanks