Schema Documentation

createProductType

Description

The createProductType mutation

Response

Returns a CreateProductTypePayload

Arguments
NameDescription
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":"abc123","productType":ProductType}}}