Schema Documentation

deleteProductCategory

Description

The deleteProductCategory mutation

Response

Returns a DeleteProductCategoryPayload

Arguments
NameDescription
input - DeleteProductCategoryInput! Input for the deleteProductCategory mutation

Example

Query
mutation deleteProductCategory($input: DeleteProductCategoryInput!){  deleteProductCategory(input: $input){    clientMutationIddeletedIdproductCategory {      ...ProductCategoryFragment    }  }}
Variables
{"input":DeleteProductCategoryInput}
Response
{"data":{"deleteProductCategory":{"clientMutationId":"abc123","deletedId":4,"productCategory":ProductCategory}}}