--- title: CustomerUpdateInput - Storefront API description: | The input fields for updating a [`Customer`](/docs/api/storefront/2026-01/objects/Customer). Used by the [`customerUpdate`](/docs/api/storefront/2026-01/mutations/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. api_version: 2026-01 api_name: storefront type: input-object api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/input-objects/customerupdateinput md: https://shopify.dev/docs/api/storefront/latest/input-objects/customerupdateinput.md --- # Customer​Update​Input input\_object The input fields for updating a [`Customer`](https://shopify.dev/docs/api/storefront/2026-01/objects/Customer). Used by the [`customerUpdate`](https://shopify.dev/docs/api/storefront/2026-01/mutations/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. *** ## Fields * accepts​Marketing [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean) Indicates whether the customer has consented to be sent marketing material via email. * email [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The customer’s email. * first​Name [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The customer’s first name. * last​Name [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The customer’s last name. * password [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The login password used by the customer. * phone [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) A unique phone number for the customer. Formatted using E.164 standard. For example, *+16135551111*. To remove the phone number, specify `null`. *** ## Map No referencing types