Tags:
- Admin GraphQL API
- 2025-01
Bulk query operation userErrors now includes code field
As of version 2025-01, the field that is returned by the Admin API
will include an optional
code
field. The GraphQL type for the field will change from a
type to a
type, however the
field name will remain unchanged.
mutation bulkOperationRunMutation($clientIdentifier: String, $mutation: String!, $stagedUploadPath: String!) {
bulkOperationRunMutation(clientIdentifier: $clientIdentifier, mutation: $mutation, stagedUploadPath: $stagedUploadPath) {
bulkOperation {
# BulkOperation fields
}
userErrors {
field
message
code
}
}
}
Was this section helpful?