Mutations
Last updated
Was this helpful?
Last updated
Was this helpful?
Mutations are used to create, update or delete objects in Bunny.
Building the mutation request is similar to building a query in the sense that you will construct a query and supply a set of input attributes. However, with mutations you can also control the type and fields that are returned once the mutation has completed.
For example, to create an account and then return the id and name of the new account your mutation will look like this.
You will also need to supply like this
To make the request simply combine the mutation query and attributes.