Schema Documentation
createProductCategory
Description
The createProductCategory mutation
Response
Returns a CreateProductCategoryPayload
Arguments
Name | Description |
---|---|
input - CreateProductCategoryInput! | Input for the createProductCategory mutation |
Example
Query
mutation createProductCategory($input: CreateProductCategoryInput!){ createProductCategory(input: $input){ clientMutationIdproductCategory { ...ProductCategoryFragment } }}
Variables
{"input":CreateProductCategoryInput}
Response
{"data":{"createProductCategory":{"clientMutationId":"xyz789","productCategory":ProductCategory}}}