bulk Operation Run Mutation
Requires Only accessible by supported access tokens: https://shopify.dev/docs/api/usage/bulk-operations/queries#access-token-considerations.
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.
Bulk mutation operations and
operations can run at the same time per shop. The number of concurrent
operations that an app can run depends on the API version. For the applicable
concurrency limits, refer to the bulk operations
guide.
Learn more about bulk importing data.
Arguments
- clientIdentifier (String)
- mutation (String!)
- stagedUploadPath (String!)
- groupObjects (Boolean): deprecated
- Anchor to clientIdentifierclient•String
Identifier An optional identifier which may be used for querying.
- Anchor to mutationmutation•String!required
The mutation to be executed in bulk.
- Anchor to stagedUploadPathstaged•String!
Upload Path required The staged upload path of the file containing mutation variables.
- Anchor to groupObjectsgroup•Boolean
Objects DeprecatedDefault:true
- bulkOperation (BulkOperation)
- userErrors ([BulkMutationUserError!]!)
- Anchor to bulkOperationbulk•Bulk
Operation Operation The newly created bulk operation.
- Anchor to userErrorsuser•[Bulk
Errors Mutation User Error!]! non-null The list of errors that occurred from executing the mutation.