#akashi_api

1 messages ยท Page 1 of 1 (latest)

wide socketBOT
#

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

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

proud finchBOT
fringe sand
#

Hi ๐Ÿ‘‹ hm, I don't think so, since Pricing Tables aren't exposed as objects in the API where you could see what Products they reference.

toxic ledge
#

Ah so currently the only way is to filter after listing products?

#

And use either metadata or something to know if it is a pricing table object?

fringe sand
#

The only other thing coming to mind, is to put metadata on the Products and use the Search API to query for those:
https://docs.stripe.com/search#query-fields-for-products
but those Search endpoints have lower rate limits and aren't good in read-after-write scenarios, so it may not be a good fit depending on the rest of your use case.

#

Yeah, exactly, or track and store that association on your end.

toxic ledge
#

Does pricing table changes create a webhook event?

fringe sand
#

No

toxic ledge
#

Okay. Thanks toby!