docs
  1. SCAYLE Resource Center
  2. Admin API
  3. Getting Started
  4. Rate Limits

Rate Limits

The Admin API limits the number of calls to its endpoints to keep the system load under the manageable level.

Rate Limit Scopes

Most Admin API endpoints belong to a rate limit scope such as stockWrite, productRead, etc. Each scope defines its own rate limit, meaning that there might be no more than X requests within Y minutes to an endpoint of the particular scope.

Every rate limit scope is isolated.

There are usually dedicated scopes for read and write operations. For example, if you have reached the limit by adding new stocks in the system, you can still retrieve stocks for a specific variant.

You can find the actual scope limits and the relation between an endpoint and a scope in the API Reference. If the scope is not given, there are no rate limits.

Rate limits vary from tenant to tenant.

Rate Limit Headers

Every API response includes the following rate limit related headers:

Header Parameter
X-RateLimit-ScopeThe scope to which the endpoint belongs.
X-RateLimit-LimitThe total amount of requests that can be made to the endpoint.
X-RateLimit-RemainingThe remaining amount of requests, which can be made to the endpoint.
X-RateLimit-ResetThe number of seconds until the quota resets.

Rate Limits

ScopeMax attempts / min.
customDataRead2000
customDataWrite1000
customersRead300
customersWrite300
fulfillmentWrite300
globalRead1000
globalWrite300
ordersRead1000
ordersWrite300
pricesRead2500
pricesWrite300
productRead1000
productWrite300
productSortingWrite2500
redirectsRead1000
redirectsWrite300
reservationsWrite2500
shopCategoriesRead1000
shopCategoriesWrite300
stocksRead2500
stocksWrite2500
vouchersRead300
vouchersWrite300

Response Example

The response for an exceeded rate limit is as follows:

{
    "errors": [
        {
            "errorKey": "RATE_LIMIT_EXCEED",
            "message": "The request rate limit exceeded. Please try again later.",
            "context": {}
        }
    ]
}