--- title: customers.update | Doing Work API description: Change a customer's name, kind, company, email, phone, billing address, lead source, tags or notes. Doing Work REST, MCP, and A2A field service operation. url: https://doingwork.work/docs/reference/customers-update/ --- # customers.update Change a customer's name, kind, company, email, phone, billing address, lead source, tags or notes. | | | |---|---| | Who | Agents can call this | | REST | `POST /v1/customers/update` | | MCP tool | `customers_update` | | Writes | yes, send an Idempotency-Key | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## When to use it Change a customer's name, kind, company, email, phone, billing address, lead source, tags or notes. ## What to tell the owner Say what you did in plain words and what happens next. ## Input | Field | Type | Required | |---|---|---| | `customer_id` | string (uuid) | yes | | `name` | string | no | | `kind` | string (one of person, company) | no | | `company_name` | string | no | | `email` | string | no | | `phone` | string | no | | `billing_address` | object | no | | `billing_address.line1` | string | no | | `billing_address.line2` | string | no | | `billing_address.locality` | string | no | | `billing_address.region` | string | no | | `billing_address.postal_code` | string | no | | `billing_address.country` | string | no | | `lead_source` | string | no | | `tags` | array | no | | `notes` | string | no | ## Example ```http POST https://doingwork.work/v1/customers/update content-type: application/json Idempotency-Key: 3f1c... { "customer_id": "00000000-0000-4000-8000-000000000000" } ``` ## Output JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are `{code, message, status}`. ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |