A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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
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.
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
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:
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