# Update a customer record

Source: https://developer.avalara.com/products/ecm/integration-guides/document-management/xxb9332525073466/

Guide: Exemption Certificate Management (ECM)

# Update a customer record

Learn how to view an example in the system.

You may find it necessary to update a customer record, for example, if the customer's address changes or if the contact person has changed. This example shows how to update an existing customer record with the new address information. Your `companyID` and the existing customer's `customerCode` is required in the request URL.

**View Example**:

```
curl
  -X PUT
  -H 'Accept: application/json'
  -H 'Authorization: Basic ${btoa(`:`)}'
  -H 'Content-Type: application/json'
  --data '{
    "customerCode": "NewExemptCustomer",
    "name": "New Exempt Customer",
    "line1": "255 S King St",
    "line2": "Suite 1200",
    "city": "Seattle",
    "postalCode": "98104",
    "emailAddress": "alice.smith@example.org",
    "contactName": "Alice Smith",
    "country": "US",
    "region": "WA",
  }'
  'https://sandbox-rest.avatax.com/api/v2/companies/365522/customers/NewExemptCustomer' 
```