Rate Limits

To ensure the stability and performance of our Shopware SaaS platform, we enforce rate limits on certain API endpoints. If a client exceeds the specified limits, the request will be denied with a 429 Too Many Requests response.

Routes with Rate Limits

HTTP MethodEndpointRate LimitExplanation
POST/api/oauth/token10 per minute per IP addressToken validity is long; reuse until expiration.
POST/account/register

3 per minute per IP address

Limits excessive account creation.
POST/api/_action/mail-template/send3 per minute per IP addressPrevents excessive email dispatching.
POST/api/_action/index1 per hour per IP addressControls resource-heavy indexing actions.
POST/api/_action/indexing1 per hour per IP addressEnsures system stability during bulk indexing.

Response When Exceeding Rate Limits

If you exceed the rate limit, the API will respond with:

HTTP Status Code:429 Too Many Requests

 

Response Headers:

  • Retry-After: Specifies the duration (in seconds) after which you can send the next request.

To avoid being rate-limited, ensure efficient API usage by caching tokens and batching requests where possible.

Was this article helpful?