Query examplesExecuting Queries and Mutations
Executing Queries and Mutations
Here are examples of the two supported operations in the GraphQL server: queries and mutations.
Queries
Use the query
operation to retrieve data (similar to a GET
operation in REST).
Mutations
Use the mutation
operation to create, update or delete data (similar to a POST
, PUT
or DELETE
operations in REST).
Bulk mutations
Please read guide Executing bulk mutations.
Handling Mutation Payloads
Please read guide Handling mutation payloads.