Idea

max-madcreationapps avatar image
max-madcreationapps suggested max-madcreationapps edited

To avoid API call hit rate limit by allow more information with expand option

We are working on releasing a iteration of our app and we are running into a problem with the API hitting the rate limit. This is because we are trying to pull a lot of order data and it is requiring us to expand API calls to get the other information.

For Example:

Call 1. - Order by ID

Call 2. - Expand Order Type

Call 3. - Exand Employee Name

Call 4. - Expand Category of the Item.

As an end result we end up making too many calls.

Is it possible for me to consolidate these calls? If not is it possible to request that some of this order data be consolidated in the Clover API to reduce the amount of calls being made? The error 429s are negatively impacting the performance of our app.

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Comment

·
David Marginian avatar image
David Marginian Deactivated commented David Marginian Deactivated edited

Multiple API calls can be avoided in this case, try:

expand=orderType&expand=employee&expand=lineItems.item.categories


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Welcome to the
Clover Developer Community

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas