#praine_api

1 messages · Page 1 of 1 (latest)

patent nymphBOT
#

👋 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/1288329821247504445

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

umbral tree
#

Yeah that should returns a list of Subscriptions

pearl marsh
#

but it does not accept an array

#

I would like to retrieve all customer subscriptions

umbral tree
#

Ah I see

pearl marsh
#

(i mean subscriptions from multiple customers, not multiple subscriptions for one customer)

#

in a single api call

#

possible?

umbral tree
#

Do you want to receive Subs on all the customers or a subset of customers (like a few ppl)?

pearl marsh
#

a subset

#

can i send an array of subscription ids and get an array of subsription statuses

umbral tree
#

I see. It’s not possible unfortunately but you can write a loop on each customer id

#

Or get all and then filter con customer ids by yourself

pearl marsh
#

how about a webhook for a cancelled subscription?

umbral tree
#

But you will need to manage the sync / correctness somehow still