#meteograms
1 messages · Page 1 of 1 (latest)
Hi there, there will always be a default_price associated with a product object, pleaes refer to the API reference here (https://stripe.com/docs/api/products/object?lang=curl#product_object-default_price)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But this is a new requirement? I have some products where I set up the pricing a year or two ago, and there is no default showing in the dashboard, and I don't recall seeing this before now.
Where does it explain what impact this "default" status actually has on anything?
I don't see an immediate impact to your integration. Since you are not using the default price before and your integration will always need to specify a price and present to your customer.
Do you encounter any problem with the default_price?
Not problem I can see, except that I find it annoying that one price has to be the "default" when actually they are all "default" (equal status). I mean I could just set the default to be the price that is in the "home" currency but it just seems pointless particularly when there is apparently no effect of having a "default". There must be some impact somewhere, or why would this default status be there?
If you experience any impact, feel free to reach out to us again and we'll help you accordingly.
It does seem possible to set default_price to null though:
This is for an existing product I set up a while ago, without setting any default price.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
When I add a new price to a product via the dashboard, there doesn't seem to be any way of not setting the new price as the "default":
For this product, there is no default price set. So when I add a new price, it's forcing me to set it as the default. I'd rather not.
Is there any way of not setting a default via the dashboard? i.e. null?
AFAIK, no, but for dashboard question you should probbaly reach out to Stripe Support at:
https://support.stripe.com/contact
In this channel we are bet fit for API integration and developer questions.
OK
BTW is there a way of making API calls via the dashboard (just for quickly running a low-level change via an API call, e.g. to set a property on an product object), rather than doing it via the "normal" dashboard interface... and quicker and easier than going over to the dev platform I have where I make these sorts calls normally? No problem if not, just thought there might be a nice web interface for this.
Sorry, I'm not sure I 'understand you question : "a way of making API calls via the dashboard"? you can make an api call following this guide:
https://stripe.com/docs/api