ShopifyGraphql icon

ShopifyGraphql

Create Shopify GraqhQL Queries and bulk operations

Actions4

Bulk → Bulk Query

AI-generated

Summary

Run a Shopify Bulk Query that executes asynchronously on Shopify's servers, fetching large amounts of data without pagination or rate limits.

Inputs

  • authentication (required) — Select the authentication method to use: Access Token, OAuth2, or API Key.
  • version (required) — Specify the Shopify API version to use, e.g., '2025-10'.
  • bulkQuery (required) — The GraphQL query string to be executed in the bulk operation.
  • bulkQueryOutput — Choose how to format the output data: 'Flat' returns the deconstructed array response with __parentId references; 'Hierarchy' reconstructs the data into a nested tree based on __parentId and __typename.

Output shape

a list of JSON objects representing each line of the bulk query result data

The output is an array of JSON objects, either in flat form or restructured into a tree hierarchy depending on the 'Output' option. The operation is asynchronous and internally polls for completion before returning data. Errors in the bulk query are raised with detailed messages.

Examples

Example 1: Run bulk query to fetch all products

Set Authentication (e.g. API Key), specify API Version, and provide a GraphQL bulkQuery fetching products with desired fields. Choose output format as needed.

Discussion