Schema Documentation
deleteCategory
Description
The payload for the deleteCategory mutation
Response
Returns a
DeleteCategoryPayload
Arguments
Name | Description |
---|---|
input -
DeleteCategoryInput! | Input for the deleteCategory mutation |
Example
Query
mutation deleteCategory($input: DeleteCategoryInput!){
deleteCategory(input: $input){
category {
...CategoryFragment
}clientMutationIddeletedId
}
}
Variables
{"input":DeleteCategoryInput}
Response
{"data":{"deleteCategory":{"category":Category,"clientMutationId":"xyz789","deletedId":"4"}}}