Bulk Mutation User Error
Represents an error that happens during execution of a bulk mutation.
Anchor to FieldsFields
- code (BulkMutationErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Bulk
Mutation Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- bulkOperationRunMutation (BulkOperationRunMutationPayload)
- •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
operation can run simultaneously.Learn more about bulk importing data.
- 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 requiredDefault:true Whether to group objects under their corresponding parent objects in the JSONL output. Grouping is costly, causes bulk operations to take longer to complete, and increases the chances of failures such as timeouts.
- Anchor to clientIdentifierclient•String
Identifier An optional identifier which may be used for querying.
Arguments