Customer Update Input
The input fields for updating a Customer. Used by the mutation.
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.
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.
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.
Anchor to FieldsFields
- acceptsMarketing (Boolean)
- email (String)
- firstName (String)
- lastName (String)
- password (String)
- phone (String)
- Anchor to acceptsMarketingaccepts•Boolean
Marketing Indicates whether the customer has consented to be sent marketing material via email.
- Anchor to emailemail•String
The customer’s email.
- Anchor to firstNamefirst•String
Name The customer’s first name.
- Anchor to lastNamelast•String
Name The customer’s last name.
- Anchor to passwordpassword•String
The login password used by the customer.
- Anchor to phonephone•String
A unique phone number for the customer.
Formatted using E.164 standard. For example, +16135551111. To remove the phone number, specify
null.