#pitcherojbh
1 messages · Page 1 of 1 (latest)
Hi there!
I am trying to use the Update Price call. from the docs, as I am updating a price and not creating one I need to use the currency_options.
What's your goal here? Change theamountof an existing price?
yep
That's not possible. You'll need to create a new Price instead.
If that is the case what is this call used for https://stripe.com/docs/api/prices/update?lang=php ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If I delete a price and create a new one and attache it to products, what would happen with recuring charges?
If that is the case what is this call used for https://stripe.com/docs/api/prices/update?lang=php ?
What do you mean? You can update a Price, but just not itsamountproperty.
If I delete a price and create a new one and attache it to products, what would happen with recuring charges?
If you have a Subscription with a price, and you delete that price, the Subscription will keep the old price as if nothing happened.
Ok
I think I follow
Just that in the docs there is this
https://stripe.com/docs/api/prices/update?lang=php#update_price-currency_options-unit_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and it is this amount I am trying to update. But If I need to deelte the price and make a new one then that is fine
*delete
Would I need to delete the price, or is it a case of just making a new one?