updateCustomer
updateCustomerPartially update a customer's details including name, email, address, phone, tax info, and billing settings. Only send fields to change.
Instructions
Update an existing customer's details. Supports partial updates — only send fields you want to change. Can update name, email, address, phone, communications_enabled, auto_charge_enabled, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The unique identifier (UUID) of the customer to update. | |
| customer_name | No | Updated customer name. | |
| No | Updated email address. | ||
| phone_number | No | Updated phone number. | |
| external_id | No | Updated external identifier. | |
| address_line1 | No | Address line 1. | |
| address_line2 | No | Address line 2. | |
| address_city | No | City. | |
| address_state | No | State. | |
| address_zipCode | No | ZIP/postal code. | |
| address_country | No | Country. | |
| address_country_code | No | Country code (e.g. US, GB). | |
| communications_enabled | No | Enable/disable invoice email communications. | |
| auto_charge_enabled | No | Enable/disable auto-charge for this customer. | |
| business_entity_id | No | UUID of the business entity to associate with. | |
| address_line3 | No | Address line 3. | |
| ship_to_line1 | No | Shipping address line 1. | |
| ship_to_line2 | No | Shipping address line 2. | |
| ship_to_line3 | No | Shipping address line 3. | |
| ship_to_city | No | Shipping address city. | |
| ship_to_state | No | Shipping address state. | |
| ship_to_zipCode | No | Shipping address ZIP/postal code. | |
| ship_to_country | No | Shipping address country. | |
| ship_to_country_code | No | Shipping address country code (e.g. US, GB). | |
| custom_data | No | Custom key-value pairs for additional customer info (e.g., {"industry": "saas", "account_tier": "enterprise"}). | |
| tax_info | No | List of tax identifiers. Each item: {country_code, tax_code, tax_id}. country_code uses mixed ISO formats (e.g. 'USA', 'IND', 'AUS', 'EU', 'GB'/'UK', 'SG', 'JP', 'BR', 'CA', and 2-letter codes for EU members like 'DE', 'FR', 'IT'). tax_code varies by country — common pairings: VAT (most of EU + UK + CH + most of MENA + IL/PH/ZA/EG/JO etc.), GST (India, Australia, Singapore), GST/HST (Canada), GST/IRD (NZ), TIN (USA, Qatar, Kuwait, Iraq, Libya), JCT (Japan), CNPJ (Brazil), SST (Malaysia), NPWP (Indonesia), MVA (Norway). Pair country_code + tax_code correctly. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |