Tiendanube - Update Customer
Description
Section titled “Description”This module allows modifying the data of existing customers in Tiendanube: personal information, marketing preferences, and default address.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- Store ID: Your store ID
- Access Token: OAuth2 access token
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Tiendanube credentials |
| customer_id | string | Yes | Customer ID to update |
| string | No | New email | |
| name | string | No | New name |
| phone | string | No | New phone |
| identification | string | No | New ID document (DNI/CUIT/CPF) |
| note | string | No | New internal note |
| accepts_marketing | select | No | Change marketing preference |
| address | string | No | New street |
| number | string | No | New number |
| city | string | No | New city |
| province | string | No | New province |
| zipcode | string | No | New postal code |
| country | string | No | New country code |
Output
Section titled “Output”{ "success": true, "customer": {...}, "customer_id": 12345, "fields_updated": ["phone", "accepts_marketing"], "message": "Customer 12345 updated successfully"}Usage Example
Section titled “Usage Example”Update phone
Section titled “Update phone”{ "customer_id": "12345", "phone": "+54 11 5555-1234"}Change marketing preferences
Section titled “Change marketing preferences”{ "customer_id": "12345", "accepts_marketing": "false"}Update full address
Section titled “Update full address”{ "customer_id": "12345", "address": "Nueva Calle", "number": "5678", "city": "Cordoba", "province": "Cordoba", "zipcode": "5000"}Add internal note
Section titled “Add internal note”{ "customer_id": "12345", "note": "VIP Customer - Offer special discounts"}API Used
Section titled “API Used”- Endpoint:
PUT /v1/{store_id}/customers/{id} - Documentation: Tiendanube Customers API
- Only the provided fields are updated
- The new email must be unique in the store
- Updating the address modifies the default address
- Notes are visible only to the seller
Related Nodes
Section titled “Related Nodes”- TiendanubeGetCustomers - Get customers to then update them
- TiendanubeCreateCustomer - Create a new customer
- TiendanubeGetOrders - Get customer orders