#ebellotpu6

1 messages · Page 1 of 1 (latest)

fallen saddleBOT
heavy dome
#

Can you share an example search request and an example result you'd expect it to include?

fluid drum
#

Query = "metadata['centerId']:'ES_Barcelona_1' AND metadata['invoiceType']:'invoice' AND metadata['storageId']:'30'"

heavy dome
#

Can you share the request id of the search request you made?

fluid drum
#

the subscription object that has id: sub_1MjlG8Ad02IkV8oW0Gis21Sv

heavy dome
#

eg: req_123

fluid drum
#

where I can find it?

heavy dome
#

How are you making the search requests?

fluid drum
#

from my api .net core

heavy dome
#

So let's consider that

fluid drum
#

req_WBityygtzVImEW

#

Stripe.StripeConfiguration.ApiKey = apiKey; try { var options = new SubscriptionSearchOptions { Query = $"metadata['centerId']:'{centerId}' AND " + $"metadata['invoiceType']:'invoice' AND " + $"metadata['storageId']:'{storageId}'" }; var service = new SubscriptionService(); var subscriptions = await service.SearchAsync(options); return subscriptions.Data; } catch (Exception) { return null; }

heavy dome
#

You're suggesting the results are empty?

fluid drum
#

yes

heavy dome
#

What happens if you remove some of those filters, for example just use one like your storageId

fluid drum
#

let me try