Schema Documentation
updateProductType
Description
The updateProductType mutation
Response
Returns an UpdateProductTypePayload
Arguments
Name | Description |
---|---|
input - UpdateProductTypeInput! | Input for the updateProductType mutation |
Example
Query
mutation updateProductType($input: UpdateProductTypeInput!){ updateProductType(input: $input){ clientMutationIdproductType { ...ProductTypeFragment } }}
Variables
{"input":UpdateProductTypeInput}
Response
{"data":{"updateProductType":{"clientMutationId":"abc123","productType":ProductType}}}