#Maxime Beaudry
1 messages ยท Page 1 of 1 (latest)
Is there a particular reason you are trying to do this via the CLI?
Because there is no way to update the list of applicable products of a coupon from the stripe dashboard after the coupon is created.
I was therefore trying to see if I could bypass the dashboard and do it from the CLI.
se there is no way to update the list of applicable products of a coupon from the stripe dashboard after the coupon is created.
This is a limitation of the entire API. There is no way to do this.
Ok. So if I create a coupon for products a, b and c and then I want to eventually add d to the list of applicable products, I then have to create a new coupon. Is that right?
You can see here: https://stripe.com/docs/api/coupons/update
The only options to update a Coupon are metadata, name, and currency_options
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That is correct.
I'm a little disapointed to hear that but still, thanks for your help. ๐
Well I will file your inquiry as a feature request if you would like.
Oh, that would be great. Thanks!