Skip to content

Shopify - Update Customer

This module allows updating the information of an existing customer, including contact data, address, tags, and account configuration.

FieldTypeRequiredDescription
credentials_idstringYesShopify credentials ID
customer_idnumberYesCustomer ID to update
emailstringNoNew email
first_namestringNoNew first name
last_namestringNoNew last name
phonestringNoNew phone
tagsstringNoNew tags
notestringNoNew notes
tax_exemptbooleanNoChange tax exemption
address1stringNoNew address line 1
address2stringNoNew address line 2
citystringNoNew city
provincestringNoNew province
countrystringNoNew country
country_codestringNoNew country code
zipstringNoNew postal code
companystringNoNew company
FieldDescription
shop_domainStore domain (my-store.myshopify.com)
access_tokenAdmin API access token
{
"success": true,
"customer": {
"id": 123456789,
"email": "nuevo@email.com",
"...": "updated fields"
},
"customer_id": 123456789,
"fields_updated": ["email", "phone", "tags"],
"message": "Customer 123456789 updated successfully"
}
{
"credentials_id": "shopify_tienda",
"customer_id": 123456789,
"email": "nuevo@email.com",
"phone": "+34600111222"
}
{
"credentials_id": "shopify_tienda",
"customer_id": 123456789,
"tags": "vip, mayorista, preferente"
}
{
"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
  • ShopifyGetCustomers - Get and search existing customers
  • ShopifyCreateCustomer - Create new customers
  • ShopifyGetOrders - Get customer orders