export all products or orders from shopify using admin graphql bulk operations

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. Send a mutation to the Admin GraphQL API using the `bulkOperationRunQuery` mutation, passing your query (e.g., all products or orders with desired fields) as the `query` argument.
  2. Poll the bulk operation status by querying `currentBulkOperation { id status errorCode }` until the status transitions to `COMPLETED`.
  3. Once completed, retrieve the `url` field from `currentBulkOperation` — this is a temporary signed URL pointing to a JSONL file containing the results.
  4. Download the JSONL file from the URL (it expires after a short window) and parse each line as an independent JSON object.
  5. If the operation has sub-objects (e.g., variants under products), use the `__parentId` field on child records to associate them with their parent.
  6. Handle `FAILED` or `CANCELED` statuses by inspecting `errorCode` and retrying with a corrected query as needed.

Known gotchas

Related routes

Run a Shopify GraphQL Admin API bulk operation to export all products for large catalog processing
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