Anchor to bulkOperationCancelbulk
bulkOperationCancel
mutation
Starts the cancelation process of a running bulk operation.
There may be a short delay from when a cancelation starts until the operation is actually canceled.
Anchor to Arguments
Arguments
- •ID!required
The ID of the bulk operation to cancel.
Was this section helpful?
Anchor to BulkOperationCancelPayload returnsBulkOperationCancelPayload returns
- Anchor to bulkOperationbulk•
Operation The bulk operation to be canceled.
- Anchor to userErrorsuser•
Errors [UserError!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation bulkOperationCancel($id: ID!) {
bulkOperationCancel(id: $id) {
bulkOperation {
# BulkOperation fields
}
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}