#whimsy_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1304065913364025344
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
in other words, does creating new price, and setting product field, with product id which already has default price, override that default price? as i did in the image
hi there!
hi
I'm not sure I understand, but you cannot update the amount of an existing Price. so you would need to create a brand new Price, either on the same Product, or on a new Product.
yeah yeah im doing that as you can see in this picture, but my question is:
since you already wrote the code, why not test it to see if it's needed or not?
but no, I don't think we would automatically change the default price
hm, what does then happen when i provide existing product to new price
i didnt find anywhere that products could have multiple prices
i didnt find anywhere that products could have multiple prices
absolutely, a Product can have as many Prices as you want
that's why there's a "default_price"
but what's then the property for other prices?
can i see that somewhere by getting the product or i have to get all prices and check manually
you can list all Prices of a specific Prodicy with this: https://docs.stripe.com/api/prices/list
hm ill check