Learn what are mutations in GraphQL and how they can be used
About Mutations
In GraphQL, mutations are operations that modify data on the server. The mutation type in the schema defines GraphQL operations that create, update, or delete data.
For more information on mutations, refer to the "Forming Calls with GraphQL" section below.
Performing Mutations in GraphQL
Unlike queries, mutations are used to change data on the server. Similar to queries, mutations specify the data you want to operate on, but they also include the data you want to modify or create.