Schema Documentation

updateCustomer

Description

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){    authTokenclientMutationIdcustomer {      ...CustomerFragment    }refreshToken  }}
Variables
{"input":UpdateCustomerInput}
Response
{"data":{"updateCustomer":{"authToken":"abc123","clientMutationId":"abc123","customer":Customer,"refreshToken":"abc123"}}}