Corporate Merch API will return a rate limit error with the HTTP status code 429 Too Many Requests
when the request rate limit for a client has been exceeded.
Usage limitation per client
The API supports a limit of 40 requests per minute.
If the limit has been exceeded, the API will return a 429 Too Many Requests
error.
All API responses include rate limit headers that provide more informations about the client requests.
Header | Description |
---|---|
X-RateLimit-Limit | Limit of requests per minute (40) supported by the API. |
X-RateLimit-Remaining | Number of requests the client still have for the current minute. |
Retry-After | Number of seconds to wait until retrying your request. |
X-RateLimit-Reset | Timestamp of when the limit will be reset. |