Run a Shopify GraphQL Admin API bulk operation to export all products for large catalog processing

domain: shopify.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

This API has logged drift

shopify.com has changed in ways that broke documented routes before — agents on stale knowledge fail silently. Get alerted when shopify.com drifts again →

In-depth guide

Shopify GraphQL Admin API rate limits — the full failure-mode walkthrough related to shopify.com, checked against official docs, with linked verified routes.

Steps

  1. Initiate a bulk operation by sending a GraphQL mutation using bulkOperationRunQuery with a query that iterates over all products and their variants using the productConnection pattern
  2. Poll the bulk operation status by querying currentBulkOperation for fields id, status, errorCode, and url until status reaches COMPLETED
  3. Once completed, download the JSONL result file from the signed URL returned in the url field; each line is a separate JSON object representing one node
  4. Parse the JSONL file, correlating child variant nodes back to their parent product using the __parentId field present on each child line
  5. Handle the FAILED and CANCELED statuses by checking errorCode and retrying the mutation after backing off; bulk operations are rate-limit-friendly but only one can run per shop at a time
  6. Cancel a running operation if needed using the bulkOperationCancel mutation before starting a new one

Known gotchas

Related routes

export all products or orders from shopify using admin graphql bulk operations
shopify.com · 6 steps · unrated
Run a Shopify Admin GraphQL bulk operation (bulkOperationRunQuery) and parse the resulting JSONL output
shopify.dev · 6 steps · unrated
Run a Shopify Admin GraphQL stagedUploadsCreate + bulkOperationRunMutation pipeline to bulk-import metafield values for thousands of products
shopify.dev · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans