mercury_update_customer
Update an existing Accounts Receivable customer. Pass only the fields you want to change.
Instructions
Update an existing Accounts Receivable customer. Pass only the fields you want to change.
USE WHEN: amending a customer's contact details (name, email, billing address) after creation. Existing invoices are not retroactively modified.
DO NOT USE: to delete a customer (use mercury_delete_customer). To change the customer of an existing invoice, cancel + recreate the invoice.
SIDE EFFECTS: writes the new customer record to Mercury. Persistent. Only the fields you pass are changed — omitted fields keep their current value.
RETURNS: { id, name, email, address, ... } — the updated customer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customerId": "<customerId>"
},
"name": "mercury_update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| address | No | Customer billing address (Mercury requires `name` in the address) | |
| customerId | Yes | Customer ID |