#lafafm

1 messages · Page 1 of 1 (latest)

outer boughBOT
brazen jackal
#

hi! not really directly, you'd have to track this manually. You could list all subscriptions and check if they have a discount field set and if that Discount object relates to the coupon you're interested in.

mellow yoke
#

Yea
But for my case that would be getting few tens of thousand subscriptions

With call rate limitations and limit of 100 items per request that would be headache

#

Btw any way of getting more records per request?

brazen jackal
#

no

mellow yoke
#

Ok

Also, a bit confused from docs

Are list subscriptions and search subscriptions have dedicated call rate limitations?

E.g. If I run a long-running script with search subscription - will it affect the overall call rate of other apis?

brazen jackal
#

rate limit is time based e.g. 100 requests-per-seconds

#

it's not about overall volume. You rarely hit rate limits just listing things from the API since you're not doing anything in parallel

mellow yoke
#

Here's the thing that confused me

#

E.g. by that description it sounds like /search call have it's own limits

brazen jackal
#

it does yes