Skip to main content
Updates an existing customer’s properties.

Mutation

mutation UpdateCustomer($input: UpdateCustomerInput!) {
  updateOneCustomer(input: $input) {
    customerId
    name
    email
    billingId
    additionalMetaData
    updatedAt
  }
}

Parameters

input
UpdateCustomerInput
required
Input for updating a customer

Return Type

Returns the updated Customer object.

Common Use Cases

Change the email address used for billing communications.
Update metadata with data from your CRM.