Schema Documentation
updateProductType
Description
The payload for 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}}}