java-tutorials/graphql-modules/graphql-java/payload-examples/updateUser.json

9 lines
270 B
JSON
Raw Normal View History

{
"query": "mutation($id: String! $name: String! $email: String! $age: String! ){ updateUser ( id: $id name: $name email: $email age: $age) { id name email age} }",
"parameters": {
"id": 1,
"name":"John updated",
"email": "johnupdate@email.com",
"age": 50
}
}