Skip to content
MinionHelp Center

Minion Help Center

How to handle Shopify API rate limits in a custom integration

Reviewed December 2, 2026 ยท Minion

An integration should treat API capacity as a resource to schedule. Shopify's GraphQL Admin API uses calculated query cost, so counting requests alone does not explain why a sync is throttled.

Inspect the actual limit

  1. Record the API, version, operation and store affected.
  2. Inspect response errors and available cost or throttle information.
  3. Measure the backlog, request cost and retry behavior over the same period.
  4. Check whether a scheduled import and live updates are competing for the same app and store capacity.

Reduce unnecessary work

Request only the fields and page sizes the task needs. Avoid repeatedly fetching unchanged records. Use suitable bulk operations for large datasets where the API supports them rather than flooding normal queries.

For example, a nightly catalog report should not prevent urgent order updates from progressing. Give background work a separate scheduling priority while respecting the capacity shared by the relevant app and shop.

Make retries deliberate

Queue work durably, pace requests and use a bounded backoff strategy appropriate to the response. GraphQL can return operation errors with an HTTP success status, so inspect the body as well as the status code.

Before retrying a write after an ambiguous failure, determine whether it took effect. Preserve stable identifiers and use operation-specific idempotency support when available. Alert on growing backlog and permanent failures rather than retrying forever.

Will upgrading the store solve a bad sync design?

Plan limits can differ, but additional capacity does not fix duplicate requests, unbounded retries or missing reconciliation. Measure the bottleneck and improve the integration's behavior first.

References

Put this into practice.

Minion can help with Shopify API integration architecture and reliability. Discuss the right ongoing support plan for your store or website.