Schema Documentation

updateCustomer

Description

The payload for the updateCustomer mutation

Response

Returns an UpdateCustomerPayload

Arguments
NameDescription
input - UpdateCustomerInput! Input for the updateCustomer mutation

Example

Query
mutation updateCustomer($input: UpdateCustomerInput!){
  updateCustomer(input: $input){
    clientMutationIdcustomer {
      ...CustomerFragment
    }
  }
}
Variables
{"input":UpdateCustomerInput}
Response
{"data":{"updateCustomer":{"clientMutationId":"abc123","customer":Customer}}}