Schema Documentation

registerCustomer

Description

The payload for the registerCustomer mutation

Response

Returns a RegisterCustomerPayload

Arguments
NameDescription
input - RegisterCustomerInput! Input for the registerCustomer mutation

Example

Query
mutation registerCustomer($input: RegisterCustomerInput!){
  registerCustomer(input: $input){
    clientMutationIdcustomer {
      ...CustomerFragment
    }viewer {
      ...UserFragment
    }
  }
}
Variables
{"input":RegisterCustomerInput}
Response
{"data":{"registerCustomer":{"clientMutationId":"abc123","customer":Customer,"viewer":User}}}