# Update a customer record

Source: https://developer.avalara.com/avatax-dm-combined-erp/document-management/dm-use-cases/test-update-customer-record/

# Update a customer record

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.

```
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'
```

[Previous](/avatax-dm-combined-erp/document-management/dm-use-cases/test-request-certificate)

[Next](/avatax-dm-combined-erp/document-management/dm-faqs)