#Andres2792
1 messages ยท Page 1 of 1 (latest)
Hi ๐
There are very few things you can update about a price
What are you trying to do?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Nope, can't do it
Gotta make a new one
Well the Dashboard does some things under the hood that are not directly enabled in the API.
Oh lort hahaha
You can set active to true
So archieve is the only exit here?
So only delete also via Dashboard if unused n?
Ouchie may I know why can't this be also done via public endpoints or public API?
Because it isn't exposed as an option. Unfortunately that's as far as I know for certain.
It should be better documented though and I can file that feedback
Dang well would be great to have this documented ๐
Just one last question if you don't mind if I messed it up with the alternative currency it can be also edited via Dashboard if unused?
Or can it be done via API?
What do you mean alternative currency? Could you describe the scenario in a bit more detail?
Well I created an Usd price and added a currency option let's say in Eur
But a wrong amount too
Can I edit that currency option. Or rip?
Yes you can. Its one of the available parameters: https://stripe.com/docs/api/prices/update#update_price-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.
If you take a look at our API reference doc it will list the documented parameters (even if it doesn't tell you a whole lot about what they do)
Well I asked because I just tried and it told me I'm trying to edit an immutable field
Do you have that request ID?
Thanks! looking
Than you for your help here mate :). Am I doing something wrong there?
I'm a little confused here myself.
Lmfao ๐ so we are two now
Okay no it looks like, once that is set it cannot be changed
That needs to be documented!
I mean, I get it. It's like the same as changing the unit amount. But it should be spelled out clearly
Well I found something related but I was really shocked cuz prices amount updates can be done (not for currency options) via Dashboard regardless of what is displayed on docs
Yeah, I am not a fan of this divergence
Yeah im really confused for sure lol
But I think it's because the API cannot do the check the Dashboard does (if the price has been used or not)
Could be but that would be good info for us devs
Cuz I was hoping to find solutions let's say for mistakes when creating prices
And I think giving access to Dashboard is not good idea lolz
For sure, I agree.
But can't be deleted either updated.... What a nice wall I found lmfao
Well @raven ginkgo really appreciate your time and help here ๐ hope the team clearly document this or give us access ๐
I've filed a couple of feature requests to update the docs based on this conversation. Hopefully we can get some clarity
Sweet, awesome help here mate ๐