Update a customer
updateCustomerReplace mutable fields on a customer record for two-way CRM sync. Supports clearing service area and nested address updates.
Instructions
Update a customer
Replaces mutable fields on a customer record — two-way CRM sync friendly (push changes from your system of record). Pass service_area_id="" to clear the service area. Address fields (including latitude/longitude) live under the nested address object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID (UUID) | |
| uid | No | Your external reference for this customer. Optional; max 32 chars. | |
| tier | No | Loyalty tier. | |
| No | Email address. | ||
| notes | No | Free-form internal notes about the customer; max 4000 chars. | |
| phone | No | Phone number. 10–20 chars. | |
| status | No | Lifecycle status. | |
| address | No | Postal address and coordinates. | |
| full_name | Yes | Customer's full name. Required; max 255 chars. | |
| sms_opt_in | No | SMS consent, tri-state: omit/null = leave unchanged; true = grant (only when the customer explicitly consented — the original consent timestamp is preserved); false = revoke (opt-out, stops SMS immediately). | |
| service_area_id | No | UUID of the service area for this customer. Must belong to this business. | |
| preferred_technician_id | No | UUID of the technician this customer prefers. Must belong to this business. |