# customerUpdate - storefront - MUTATION Version: 2024-04 ## Description Updates an existing customer. ### Access Scopes `unauthenticated_write_customers` access scope. ## Arguments * [customer](/docs/api/storefront/2024-04/input-objects/CustomerUpdateInput): CustomerUpdateInput! - The customer object input. * [customerAccessToken](/docs/api/storefront/2024-04/scalars/String): String! - The access token used to identify the customer. ## Returns * [customer](/docs/api/storefront/2024-04/objects/Customer): Customer The updated customer object. * [customerAccessToken](/docs/api/storefront/2024-04/objects/CustomerAccessToken): 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. * [customerUserErrors](/docs/api/storefront/2024-04/objects/CustomerUserError): CustomerUserError! The list of errors that occurred from executing the mutation. * [userErrors](/docs/api/storefront/2024-04/objects/UserError): UserError! The list of errors that occurred from executing the mutation. ## Examples