#morunas - product
1 messages · Page 1 of 1 (latest)
Hi! If I understand correctly you would like to set this parameter in the Stripe dashboard? https://stripe.com/docs/api/products/create#create_product-url
Hi 🙂 correct, however on my dashboard UI I can't find any place to add that... just other things like descriptor and metadata entries which I assume all go under the metadata prop
This is because we don't yet have a back-office on our end to manage our products on Stripe
eventually it will be automated, but for now - at least for testing purposes - would be nice to be able to manipulate on the dashboard if possible
but if not I can of course update the products via API (I'm also just in test mode)
Got it! I just checked, and I confirm that this parameter is only available in the API unfortunately.
Ok thanks. Another question is... if I want to fetch a group of products by IDs including their active price, what is the best way to do this? The Product API doesn't return price information. Is it to instead fetch for the prices and expand product for product info?
I understand the Prices API is "the new" Plans API, so I guess it's just the name that is misleading? Meaning I should use the Prices API to fetch "plan data" (aka product with price info)
To get the active products ID, you would use this: https://stripe.com/docs/api/products/list
And then for a given product ID, you can get the prices with this: https://stripe.com/docs/api/prices/list
Ah ok, and this is case there are price changes of course... so I need to then do multiple queries regardless
since I cannot expand prices within the product query
Yes product objects don't contain the price, but the price does contain the corresponding product.
this is case there are price changes of course...
I'm not sure what that means.
I meant that I can't map our plans to Price IDs, and should map them to Product IDs, because whenever we want to change Product Prices... we will create new prices