shopify_bulk_query
Export large Shopify datasets by launching an async GraphQL bulk query. Use when paginated queries exceed thousands of records, producing a JSONL file.
Instructions
Launch an async bulk export of a read-only GraphQL query.
Use for exporting datasets too large for paginated queries (>10k records, or anything you'd otherwise paginate hundreds of times). Shopify runs the query in the background and produces a JSONL file with all results.
Restrictions (enforced by Shopify):
Exactly one top-level connection per query.
Max 5 total connections, max depth 2.
Every nested connection node must select
idwithout an alias.API ≤ 2025-10: one bulk op at a time per shop. API ≥ 2026-01: up to 5.
Returns the BulkOperation ID - poll with shopify_bulk_poll.
Args: query: Read-only GraphQL document with a single root connection. shop: Store alias or domain. Required when multiple stores are configured. api_version: Override API version (default "2026-04").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop | No | ||
| query | Yes | ||
| api_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |