BigCommerce - Update Customer
Description
Section titled “Description”This module allows modifying the data of existing customers in BigCommerce: name, company, phone, group, and more. It can identify the customer by ID or email.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- Store Hash: Unique hash of your BigCommerce store
- Access Token: API V3 access token
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | BigCommerce credentials |
| customer_id | string | Yes* | Customer ID to update |
| string | Yes* | Customer email (alternative to ID) | |
| first_name | string | No | New first name |
| last_name | string | No | New last name |
| new_email | string | No | New email |
| company | string | No | New company |
| phone | string | No | New phone |
| customer_group_id | number | No | New customer group |
*Either customer_id or email is required
Output
Section titled “Output”{ "success": true, "customer": {...}, "customer_id": 789, "fields_updated": ["company", "phone"], "message": "Customer 789 updated successfully"}Usage Example
Section titled “Usage Example”Update by ID
Section titled “Update by ID”{ "customer_id": "789", "company": "Nueva Empresa S.A.", "phone": "+34 600 987 654"}Update by email
Section titled “Update by email”{ "email": "cliente@ejemplo.com", "customer_group_id": 5}Change customer email
Section titled “Change customer email”{ "customer_id": "789", "new_email": "nuevo-email@cliente.com"}Update full name
Section titled “Update full name”{ "email": "cliente@ejemplo.com", "first_name": "Juan Carlos", "last_name": "Garcia Lopez"}API Used
Section titled “API Used”- Endpoint:
PUT /stores/{store_hash}/v3/customers - Documentation: BigCommerce Update Customer
- If email is used, the customer is first searched to obtain the ID
- The V3 API requires sending data as an array
- Only the provided fields are updated
- To update addresses, use the addresses API separately
- The new email must be unique in the store
Related Nodes
Section titled “Related Nodes”- BigcommerceGetCustomers - Get customers
- BigcommerceCreateCustomer - Create customer
- BigcommerceGetOrders - Get orders