Shopify - Update Customer
Description
Section titled “Description”This module allows updating the information of an existing customer, including contact data, address, tags, and account configuration.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
credentials_id | string | Yes | Shopify credentials ID |
customer_id | number | Yes | Customer ID to update |
email | string | No | New email |
first_name | string | No | New first name |
last_name | string | No | New last name |
phone | string | No | New phone |
tags | string | No | New tags |
note | string | No | New notes |
tax_exempt | boolean | No | Change tax exemption |
address1 | string | No | New address line 1 |
address2 | string | No | New address line 2 |
city | string | No | New city |
province | string | No | New province |
country | string | No | New country |
country_code | string | No | New country code |
zip | string | No | New postal code |
company | string | No | New company |
Credentials
Section titled “Credentials”| Field | Description |
|---|---|
shop_domain | Store domain (my-store.myshopify.com) |
access_token | Admin API access token |
Output
Section titled “Output”{ "success": true, "customer": { "id": 123456789, "email": "nuevo@email.com", "...": "updated fields" }, "customer_id": 123456789, "fields_updated": ["email", "phone", "tags"], "message": "Customer 123456789 updated successfully"}Usage Example
Section titled “Usage Example”Update email and phone
Section titled “Update email and phone”{ "credentials_id": "shopify_tienda", "customer_id": 123456789, "email": "nuevo@email.com", "phone": "+34600111222"}Add tags
Section titled “Add tags”{ "credentials_id": "shopify_tienda", "customer_id": 123456789, "tags": "vip, mayorista, preferente"}Update address
Section titled “Update address”{ "credentials_id": "shopify_tienda", "customer_id": 123456789, "address1": "Avenida Nueva 456", "city": "Barcelona", "province": "Barcelona", "zip": "08001"}- Only the fields you specify are updated
- To add tags without losing existing ones, first get the current ones
- Address updates create a new address by default
- Unspecified fields keep their current value
Related Nodes
Section titled “Related Nodes”- ShopifyGetCustomers - Get and search existing customers
- ShopifyCreateCustomer - Create new customers
- ShopifyGetOrders - Get customer orders