Channel API: rate limits
About this article
This article describes the rate-limiting guidelines that apply to the Channel API.
Table of contents
Introduction
To ensure that ChannelEngine can continue serving its customers and partners efficiently and reliably, it is necessary to make use of rate limiting in the Channel API. The rate limits defined allow ChannelEngine's customers and partners to perform all calls required to conduct their business in a timely manner.
It is recommended that you make use of dynamic throttling and consider the limits and intervals communicated in the response headers.
Request rate limits
To request the rate limit for each endpoint:
- Go to the Channel API reference for your environment. For instance, if your ChannelEngine environment is Sustainable Suits, its API URL should be https://sustainable-suits.channelengine.net/api/docs/#channel-api.
- In the Authentication section, enter your Channel API key. To find your Channel API key, open a given channel, and go to Setup, General, API key.
- Select the endpoint for which you would like to know the limit.
- Click Test request. If the selected endpoint requires parameters, make sure to provide them before clicking Send.
- In the Response headers section, check the values provided by the headers:
-
x-rate-limit-limit- the rate limit interval, in minutes. -
x-rate-limit-remaining- the number of remaining calls within the current interval. -
retry-after- the number of seconds to wait before making another call.
View rate limits
The table below lists the endpoints and their typical rate limits and intervals. E.g.: if a rate limit is 5 and its corresponding interval is 15, you can make 5 calls within 15 minutes.
Channel API
| Endpoint | Rate limit | Interval |
GET /v2/cancellations |
15 | 15 min |
POST /v2/cancellations/channel |
5 | 15 min |
POST /v2/cancellations/channel/bulk |
5 | 15 min |
POST /v2/orders |
150 | 15 min |
POST /v2/products/data |
3 | 15 min |
GET /v2/products/data |
3 | 15 min |
POST /v2/products/offers |
15 | 15 min |
GET /v2/products/offers |
15 | 15 min |
GET /v2/products/data/full |
15 | 15 min |
GET /v2/returns/channel |
3 | 15 min |
POST /v2/returns/channel |
100 | 15 min |
GET /v2/shipments |
15 | 15 min |
| Endpoint | Rate limit | Interval |
GET /v2/orders/{merchantOrderNo}/invoice |
100 | 15 min |
GET /v2/orders/{merchantOrderNo}/packingslip |
100 | 15 min |
GET /v2/orders/{merchantShipmentNo/shippinglabel |
50 | 15 min |
GET /v2/excludedOrders |
30 | 1 min |
POST /v2/excludedOrders |
30 | 1 min |
DELETE /v2/excludedOrders |
30 | 1 min |
Comments
0 comments
Article is closed for comments.