Skip to main content
Anchor to BulkOperationRunQueryPayload

BulkOperationRunQueryPayload

payload

Return type for bulkOperationRunQuery mutation.

•BulkOperation

The newly created bulk operation.

•[BulkOperationUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates and runs a bulk operation to fetch data asynchronously. The operation processes your GraphQL query in the background and returns results in a JSONL file when complete.

Apps can run one bulk query operation and one bulk mutation operation at a time per shop. The query must include at least one connection field and supports up to five connections with a maximum nesting depth of two levels.


Note

Results remain available for seven days after completion.


For more information, see the bulk operations guide.

Arguments

•String!
required

The query to be executed in bulk.

•Boolean!
requiredDefault:false

Enables grouping objects directly under their corresponding parent objects in the JSONL output. Enabling grouping slows down bulk operations and increases the likelihood of timeouts. Only enable grouping if you depend on the grouped format.



Was this section helpful?