Schema Documentation
createProductType
Description
The payload for the createProductType mutation
Response
Returns a
CreateProductTypePayload
Arguments
Name | Description |
---|---|
input -
CreateProductTypeInput! | Input for the createProductType mutation |
Example
Query
mutation createProductType($input: CreateProductTypeInput!){
createProductType(input: $input){
clientMutationIdproductType {
...ProductTypeFragment
}
}
}
Variables
{"input":CreateProductTypeInput}
Response
{"data":{"createProductType":{"clientMutationId":"xyz789","productType":ProductType}}}