#Benkaemu-products-prices-api
1 messages · Page 1 of 1 (latest)
Hey! No, this won't work. There's no prices field on the Product object: https://stripe.com/docs/api/products/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What are you trying to do?
Hmm, you can list all Prices and expand the product field: https://stripe.com/docs/api/prices/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Not sure if that's useful
I want to make a catalog page with products and prices, what is the best api call to do?
How many Products do you have?
My recommendation would be then to use this API: https://stripe.com/docs/api/prices/list and pass the product parameter
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So you'll need to make 3 separate API calls, but shouldn't be too bad if you loop over the IDs you have
thank you