Schema Documentation

updateProduct

Description

The updateProduct mutation

Response

Returns an UpdateProductPayload

Arguments
NameDescription
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"}}}