---
title: CustomerUpdateInput - Storefront API
description: >-
  The input fields for updating a

  [`Customer`](/docs/api/storefront/2026-07/objects/Customer). Used by the
  [`customerUpdate`](/docs/api/storefront/2026-07/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-07
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
api_name: storefront
api_type: graphql
type: input-object
---

# Customer​Update​Input

input\_object

The input fields for updating a [`Customer`](https://shopify.dev/docs/api/storefront/2026-07/objects/Customer). Used by the [`customerUpdate`](https://shopify.dev/docs/api/storefront/2026-07/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`.

***

## Mutations using this input

* [customer​Update.customer](https://shopify.dev/docs/api/storefront/latest/mutations/customerUpdate#arguments-customer)

  ARGUMENT

***

## Map

### Mutations using this input

* [customer​Update.customer](https://shopify.dev/docs/api/storefront/latest/mutations/customerUpdate#arguments-customer)
