#alexisadeveloper

1 messages · Page 1 of 1 (latest)

mossy sequoiaBOT
#

Hello alexisadeveloper, we'll be with you shortly! 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.
alexisadeveloper, 4 days ago, 3 messages
alexisadeveloper, 5 days ago, 8 messages
alexisadeveloper, 6 days ago, 4 messages
alexisadeveloper, 6 days ago, 7 messages

orchid hare
#

Is there a reason that you are retrieving each subscription rather than listing them? With the list or search endpoints you can get back up to 100 subscriptions at a time
https://stripe.com/docs/api/subscriptions/list
https://stripe.com/docs/api/subscriptions/search

whole viper
#

The reason I am not listing them is because there isn't a 1-to-1 correspondence between customer and subscription right now (We have a lot more subscriptions than customers) which means we would be getting a ton of subscriptions that are not connected to any active customers of our application.

I tried the search version like this:
metadata['institutionId']:('cljgwwyh40000m51od15109u5' OR 'cljgx52ai00003b72r96je3o2')

but I keep getting this error "We were unable to parse your search query. Try using the format metadata["key"]:"value" to query for metadata or key:"value" to query for other fields."

Is it possible to do the OR operator for the query in the search? If so, what am I doing wrong here?

orchid hare
#

It should be possible to do something like that with our search API. Looking in to our query language