> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Customer

Update a customer's information.

Required Permission:

* write\_customers.

<Note>
  External Documentation

  To learn more, visit the [Shopify documentation](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/customerUpdate#top).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Addresses     | JSON array of address objects to set for the customer. All fields are optional.<br /><br />For example:<br /><pre><code>\[\{<br />  "address1": "Chestnut Street 92",<br />  "address2": "Apartment 2",<br />  "city": "Louisville",<br />  "company": null,<br />  "countryCode": "US",<br />  "firstName": "Bob",<br />  "lastName": "Norman",<br />  "phone": "555-625-1199",<br />  "provinceCode": "QC",<br />  "zip": "40202"<br />}]</code></pre>**Note**: For more information regarding the `Addresses` parameter, visit [Shopify API documentation](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerCreate?example=Creates+a+customer#top) |
  | Customer ID   | The ID of the customer to update.<br /><br />For example: `gid://shopify/Customer/10079785100`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | Email Address | Email address of the customer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | First Name    | First name for the customer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
  | Last Name     | Last name for the customer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Phone Number  | E.164 formatted phone number of the customer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Locale         | The customer's locale.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Metafields     | JSON array of additional `Metafields` to associate to the customer.<br /><br />For example:<br /><pre><code>\[\{<br />  "namespace": "my\_field",<br />  "key": "nickname",<br />  "type": "single\_line\_text\_field",<br />  "value": "rob"<br />}]</code></pre>**Note**: For more information regarding the `Metafields` parameter, visit [Shopify API documentation](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerCreate?example=Creates+a+customer#top) |
  | Note           | An note to save on the customer.<br /><br />For example:<br /><pre><code>Placed an order that had a fraud warning.</code></pre>                                                                                                                                                                                                                                                                                                                                                      |
  | Tags           | A comma-separated list of tags to add to this customer.<br /><br />For example:<br /><pre><code>tag1,tag2,tag3</code></pre>                                                                                                                                                                                                                                                                                                                                                          |
  | Tax Exempt     | When checked, the customer is exempt from paying taxes on their order.                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Tax Exemptions | The list of tax exemptions to apply to the customer.<br /><br />**Note**: For more information about the `Tax Exemptions` parameter, visit [Shopify API documentation](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerCreate?example=Creates+a+customer#top)                                                                                                                                                                                                   |
</div>

## Example Output

```json theme={"dark"}
{
	"customerUpdate": {
		"userErrors": [],
		"customer": {
			"id": "gid://shopify/Customer/1018520244",
			"firstName": "Tobi",
			"lastName": "Lutke"
		}
	}
}
```

## Workflow Library Example

[Update Customer with Shopify and Send Results Via Email](https://library.blinkops.com/workflows/update-customer-with-shopify-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-customer-with-shopify-and-send-results-via-email/canvas" />
</div>
