#ebellotpu6_list-prices

1 messages ยท Page 1 of 1 (latest)

brazen adderBOT
#

๐Ÿ‘‹ 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/1272920801590644740

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

exotic crestBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

earnest gorge
#

Hi there ๐Ÿ‘‹ can you share the ID of a request you're making where you aren't seeing the results you're expecting?
https://support.stripe.com/questions/finding-the-id-for-an-api-request

tight nacelle
#

req_HEfBUuTJXKVkMP

earnest gorge
#

Thank you! First I'd suggest using our List endpoint there rather than the Search API:
https://docs.stripe.com/api/prices/list
You're using filters that are all supported by the list endpoint, and it's not subject to the same concerns with needing to wait for objects to be indexed before they appear in those search results.

It looks like there may be more than 10 Prices on that Product that match those criteria, so I'd also recommend setting the limit parameter higher than it's default value of 10. (You could use pagination instead of raising the limit if you prefer)
https://docs.stripe.com/api/prices/list#list_prices-limit

tight nacelle
#

that's it

#

thanls!

earnest gorge
#

Any time, glad that helped!

brazen adderBOT
#

ebellotpu6_list-prices

tight nacelle
#

if I put the limit to 100, this will slowing down the process?

#

?

earnest gorge
#

It could make the responses slower if we need to provide you with 100 results in the response yes, but may still be faster than needing to make multiple requests to page through the results.

tight nacelle
#

But we're talking about a few seconds, right?