Schema Documentation
updateCategory
Description
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":"xyz789"}}}