#ajit
1 messages · Page 1 of 1 (latest)
Hello there
hello
You can update/change the Price associated with a Subscription via the API or the Dashboard. In terms of when/what will be charged you should take a read through https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
That's correct. That is true for Dashboard or API
You never update the Price object directly
but when i updated price from dashboard . price id did not changed
just amount was changed
That should not be the case. Can you give me a request ID where you saw that happen? See: https://support.stripe.com/questions/finding-the-id-for-an-api-request for how to find the request ID
sure
let me provide you
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
i also passed same data from API but API gives 400
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
from dashboard it works
but from API not
Thanks I'm looking
sure
Okay so yeah the initial request you provided adds a currency_option
That is different from updating the default currency on the Price
The currency_option is specifically used with Multi-currency Prices. See: https://stripe.com/docs/payments/checkout/present-local-currencies
Regardless, this doesn't update the Subscription that has that Price
It would only effect new Subscriptions
sorry
this one was right one
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
its origin is from stripe dashboard
Ah okay that is because that Price doesn't have any active Subscriptions yet
So it does allow you to edit. I did forget that we allow that via Dashboard. We are much more familiar with the API here and don't really use the Dashboard much
Correct
If the Price is associated to a Subscription then you can't edit the amount. So wouldn't make sense to try to upgrade/downgrade a Subscription that way
not an issue thanks for the information .. but if i have 1000 subscribers . how can update price for all in one go
You loop through the Subscriptions and update the Price used for each one