mutationBatch

Process mutations in bulks. The mutationBatch mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation mutationBatch ($attributes: [BatchMutationAttributes!]) {
  mutationBatch (attributes: $attributes) {
      batch
      errors
  }
}

ArgumentsLink to Arguments section

{
  "attributes": [
    {
      "mutation": "BatchMutationName",
      "attributes": "JSON",
      "body": ""
    }
  ]
}
Name Type Description
attributes List (BatchMutationAttributes)  

ResponseLink to Response section

Name Type Description
batch List (BatchMutation)  
errors List (String)