Schema Documentation
updateProduct
Description
The updateProduct mutation
Response
Returns an UpdateProductPayload
Arguments
Name | Description |
---|---|
input - UpdateProductInput! | Input for the updateProduct mutation |
Example
Query
mutation updateProduct($input: UpdateProductInput!){ updateProduct(input: $input){ product { ...ProductFragment }clientMutationId }}
Variables
{"input":UpdateProductInput}
Response
{"data":{"updateProduct":{"product":Product,"clientMutationId":"xyz789"}}}