Schema Documentation

deleteProductType

Description

The deleteProductType mutation

Response

Returns a DeleteProductTypePayload

Arguments
NameDescription
input - DeleteProductTypeInput! Input for the deleteProductType mutation

Example

Query
mutation deleteProductType($input: DeleteProductTypeInput!){  deleteProductType(input: $input){    clientMutationIddeletedIdproductType {      ...ProductTypeFragment    }  }}
Variables
{"input":DeleteProductTypeInput}
Response
{"data":{"deleteProductType":{"clientMutationId":"xyz789","deletedId":"4","productType":ProductType}}}