Skip to main content
Anchor to bulkOperationRunMutation

bulkOperationRunMutation

mutation

Creates and runs a bulk operation to import data asynchronously. This mutation executes a specified GraphQL mutation multiple times using input data from a JSONL file that you've uploaded to Shopify.

The operation processes each line in your JSONL file as a separate mutation execution. The operation delivers results in a JSONL file when it completes. You can run one bulk mutation operation at a time per shop, though a bulkOperationRunQuery operation can run simultaneously.

Learn more about bulk importing data.

String

An optional identifier which may be used for querying.

String!
required

The mutation to be executed in bulk.

String!
required

The staged upload path of the file containing mutation variables.

Boolean
DeprecatedDefault:true

Was this section helpful?

Anchor to BulkOperationRunMutationPayload returnsBulkOperationRunMutationPayload returns

BulkOperation

The newly created bulk operation.

[BulkMutationUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?