Schema Documentation
updateCategory
Description
The payload for the UpdateCategory mutation
Response
Returns an
UpdateCategoryPayload
Arguments
Name | Description |
---|---|
input -
UpdateCategoryInput! | Input for the UpdateCategory mutation |
Example
Query
mutation updateCategory($input: UpdateCategoryInput!){
updateCategory(input: $input){
category {
...CategoryFragment
}clientMutationId
}
}
Variables
{"input":UpdateCategoryInput}
Response
{"data":{"updateCategory":{"category":Category,"clientMutationId":"abc123"}}}