#jackson-subscription-coupon
1 messages · Page 1 of 1 (latest)
jackson-subscription-coupon
It's possible for a Coupon to only apply to a specific Product for example so that might be what you configured incorrectly?
yes. but would the API allow you to create a subscription with the coupon applied as a param in the create POST even though its invalid?
because it's not invalid. It's a valid coupon. You could totally add the Product to that Subscription later, or have it now and remove it later. There's no reason to error on that kind of behaviour
i see i see
on another note, is there a way to update a coupon's applies_to product ids?
because I have a coupon that has one "Applicable Product" but I want it to work with others / all products
no you would create a new Coupon for this (otherwise it'd be unclear what happens to the Subs that already have that Coupon)
is there a way to see a coupon's applicable products via the API? I dont see it in the reference docs and when I retrieve the coupon I don;t see it in the object response
https://stripe.com/docs/api/coupons/object#coupon_object-applies_to
it's not returned by default, you have to explicitly expand it, see https://stripe.com/docs/expand#includable-properties