Flow control

REST Admin API supports 4 requests per second of each store per App.

Interface TypeRate LimitingLimit Rule
REST ADMIN APILeaky BucketApp/Store/4QPS, bucket size:40

Status and Error Codes

429:Too Many Requests, client already exceeds the rate limit. For detailed error code please see: APIStatus Response and Error Codes

Rate Limiting

Rate limiting The REST Admin API is constrained by rate limits.

Please consider and minimize API concurrency for each store in your app.

The REST Admin API is based on the combination of App and store. This means that calls from one App will not affect the rate limit of another app, even within the same store. Likewise, calls to one store will not affect the rate limit of another store, even from the same app.

The Leaky Bucket algorithm is used for rate limiting. Once limits are exceeded, all requests will be throttled and return a 429 Too Many Requests HTTP error. After requests have normalized, the requests will be approved and continue.

Default bucket size and rates:

  • Bucket size: 40 requests/app/store
  • Bucket rate: 4 per second

Buckets will allow a rate of 4 requests per second. Make sure you set no more than 4 requests per second in your App to avoid restrictions.

If there is available capacity in your bucket, then requests will be put into it for mitigating the leaking request.

Was this article helpful to you?

Error loading component.

Error loading component.