Update customer
update_customerUpdate an existing QuickBooks customer's contact info, addresses, or display name using the customer ID and a fresh SyncToken. Sparse update leaves other fields unchanged.
Instructions
Update an existing customer. Use it to correct contact details, addresses, or the display name. Write operation that overwrites the fields you supply on the live record and leaves omitted fields unchanged, so it is a sparse update rather than a replacement. Not idempotent: a successful write increments the SyncToken, so the same call cannot be replayed. Requires the Id plus the SyncToken from a fresh get_customer; a stale token fails with error 5010.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | Fields to change. display_name is required on this payload, so resend the current name unless you intend to rename the customer. | |
| sync_token | Yes | SyncToken from a fresh get_customer call for this Id. QuickBooks rejects a stale token with error 5010, so re-read the customer instead of reusing an older token. | |
| customer_id | Yes | QuickBooks Customer Id, as returned by search_customers, list_customers, or create_customer. This is the numeric Id string, not the display name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| customer | No |