Skip to main content
mutation

Requires unauthenticated_write_customers access scope.

Updates an existing customer.

•CustomerUpdateInput!
required

The customer object input.

•String!
required

The access token used to identify the customer.


Was this section helpful?

Anchor to CustomerUpdatePayload returnsCustomerUpdatePayload returns

•Customer

The updated customer object.

•CustomerAccessToken

The newly created customer access token. If the customer's password is updated, all previous access tokens (including the one used to perform this mutation) become invalid, and a new token is generated.

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?