Skip to main content
input_object

The input fields for updating a Customer. Used by the customerUpdate mutation.


Caution

Updating the password invalidates all existing access tokens, including the one used to perform the mutation. The response returns a new access token. Ensure your app handles the new token returned in the response to avoid logging the customer out.


•Boolean

Indicates whether the customer has consented to be sent marketing material via email.

•String

The customer’s email.

•String

The customer’s first name.

•String

The customer’s last name.

•String

The login password used by the customer.

•String

A unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111. To remove the phone number, specify null.


Was this section helpful?