#atish-product-price
1 messages · Page 1 of 1 (latest)
atish-product-price
Hey @proud night you would use the List Prices API https://stripe.com/docs/api/prices/list
there's a product parameter to filter only the Prices for a given Product https://stripe.com/docs/api/prices/list#list_prices-product
Thank you, but still I am not being able to understand is when I try to create two prices, 4 prices are being created
Can you give me a bit more context?
@proud night do you have more details? For me to help you I need to see what you're seeing
Sure so what's the problem? I'm sorry you're just giving me really little information
can you share that Price id price_123?
I can look it up and see what happened
Product id: prod_Nh1G4PjCKcemJ7
Price ids:
price_1MvdE1DfJAkpzIQTnTOBVXDU
price_1MvdE1DfJAkpzIQTvyTvh1ud
price_1MvdDpDfJAkpzIQTtCyYpsj8
price_1MvdDpDfJAkpzIQTMZcjYCDV
thanks let me have a look for a bit
Sure I only tried to create two prices, but two more were replicated
As far as I can tell you did separate requests 12s apart to create those
Let me try again, or I clicked it twice? 12 seconds its too close
yeah I just tried and my product creates 2 Prices if I explicitly create 2 Prices in the UI. So it looks like you might have done it twice without realizing it
Yah, I tried again and it works perfect. My fault, sorry for the inconvenience
Totally fine, not sure what happened there but glad there isn't a real bug as far as we can tell
could totally have been possible we made a duplicate request for some reason 🙂
I don't know but as far as I remember I created a product and added two price models and saved it