#Jaydeep-subscriptions-list

1 messages · Page 1 of 1 (latest)

sand tree
#

@small sun hi! no, we don't support a metadata search at this time. But actually we're working on one and there's a beta for it(https://www.youtube.com/watch?v=GAL0RnRYK1Y)

If you're not in that beta then you just have to list all subscriptions and then write code to filter the list by metadata locally.

small sun
#

ok so should i pass list of customerId while fetching list of subscription?

#

because i saw in documentation thai i can fetch data based on customer Id but what if i have to find for more than one customerId?

sand tree
#

what if i have to find for more than one customerId?
then you have to make multiple API calls

small sun
#

okay but it will take much more time to fetch all data

#

do you have any way where i can fetch all data with with minimum time?

sand tree
#

not really, it takes how long it takes! If you want a faster option you could replicate some of the information in your local database(like the IDs of the subscriptions sub_xxx ) instead of calling out to the API.

#

or you could try to get into the Search API beta and see if suits your needs, I think it might!

small sun
#

but i have to deliver project to client so is there good option to go with beta version?

#

because i'm not sure if its support for long time or not?

sand tree
#

beta just means it's something we will eventually add to the API most likely but we're limiting access before fully launching it, so the support wouldn't stop

#

but if you need something today then the answer is to list the subscriptions using the normal APIs and write code to filter them by the metadata in your local code.

small sun
#

yaa but my question is if i implement and deliver product then for next 3-4 years beta version code should work?

sand tree
#

it might not(we might require a change when moving from beta to the public release), so fair enough, if you don't have plans to update this code after writing it then you're right and it might not be a good fit!

small sun
#

yes, so do you have any idea when this version release for public?

sand tree
#

no(the beta was only released this week)