#edgarsantiago93

1 messages · Page 1 of 1 (latest)

hollow mirageBOT
#

Hello! 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.

warm marlin
#

You mean for listing subscriptions?

wide sluice
#

yes

#

sorry, forgot to write that

warm marlin
#

It does not, no. You need to provide a single value to list, or you can send all to get all subscription statuses, then filter the results to your needs

wide sluice
#

awesome! did not know about the search api, thanks a lot!

warm marlin
#

np!

wide sluice
#

just one additional q, so i woudl do sth like

query: 'status:'active' AND 'status:'unpaid'

#

right?

warm marlin
#

OR, not AND, but yes roughly

wide sluice
#

oh right good catch, just copied the example from the docs, thnks!

warm marlin
#

NP!

wide sluice
#

follow up haha, sorry, im trying to do sth like this

  query: `customer:${stripeCustomerId} status:'unpaid' OR status:'active'`,

but im getting an error that queries cant have or and and

warm marlin
#

huh, i hadn't encountered that before, but i see the same

#

but honestly, if you're including a customer id like that, I'd say use the List endpoint and filter locally

wide sluice
#

got it, ill try that! thks