Shopify API Response Timeout Limits

Shopify API Response Timeout Limits

spaceshiptech
Shopify Partner
10 0 7

Hi Everyone,

 

May I ask what is the general API response time limit for fetching data (e.g: orders and products) or is there any read timeout limits on each resource?

 

 

Looking forward for your response.

 

 

Kind Regards,

Spaceship Tech

Replies 3 (3)

CameronKaiser
Tourist
4 0 2

Whatever it is, it's abysmal. My mutation requests that are well within the cost limits timeout all the time. Even after I significantly reduced the size of the payload!  Lots of them get 502s or straight HTML responses too. Trying to mutate metafields en-masse? Good luck.

Umiko
Shopify Staff
42 8 14

Thanks for the feedback @CameronKaiser 🙂

 

I can certainly understand the challenge with mutating a large volume of metafields, and I'd recommend using the `bulkOperationRunMutation` in these cases. Bulk operations are designed to handle large volumes of data asynchronously, and does not follow the standard rate limits.

 

Hope that helps!

Umiko | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Umiko
Shopify Staff
42 8 14

Hi @spaceshiptech 👋

 

I'd recommend checking out the rate limits for different APIs here, since they differ in the limiting methods and the type of merchant. Since you've tagged Admin REST API, it would be a request-based limit per app and per merchant. All Shopify APIs use a  leaky bucket algorithm to manage requests, and for Admin REST API the settings would be:

 

  • Bucket size: 40 requests/app/store for standard merchants (80 requests/app/store for Plus)
  • Leak rate: 2/second for standard merchants (4/second for Plus)

Hope that helps! 

Umiko | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog