Schema Documentation

deleteProductType

Description

The payload for 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":"abc123","deletedId":"4","productType":ProductType}}}