Update an existing legal entity for your account. Use this endpoint to modify legal entity information such as address, contact details, or business information.
Request
Your API Key (LoginId from your DNCScrub account)
Request Body
The unique identifier of the legal entity to update
The registered legal name of the business entity
Set to true to make this the default legal entity for the account
Employer Identification Number (EIN), digits without a dash (e.g., “987654321”)
Street address of the legal entity
City of the legal entity’s address
State or province code (e.g., “NY”, “CA”)
Two-letter country code (e.g., “US”)
Industry identifier code. See the table below for valid values.
| ID | Industry |
|---|
| 1 | Education |
| 2 | Transportation |
| 3 | Retail |
| 4 | Delivery/Shipping |
| 5 | Government |
| 6 | Health Care |
| 7 | Financial |
| 8 | Public Service |
| 9 | Real Estate |
| 10 | Legal |
| 11 | Restaurant/Food Services |
| 12 | Automotive |
| 13 | Religious |
| 14 | Veterinary Services |
| 15 | Trade Contractors |
| 16 | Personal Services |
| 17 | Business Services |
| 18 | Hospitality/Entertainment |
| 19 | Insurance |
| 20 | Manufacturing |
| 21 | Other Business |
| 22 | Telecommunications |
Primary contact phone number for the legal entity
Name of the primary contact person
Email address of the primary contact
PrimaryContactPhoneNumber
Phone number of the primary contact person
Number of employees at the company
Estimated number of outbound calls per month
Dun & Bradstreet DUNS number
“Doing Business As” name, if different from legal name
Description of the purpose of outbound calls
PotentialNegativeReaction
Description of potential negative reaction
Example Request
curl --location --request PUT \
'https://dataapi.dncscrub.com/v1.5/legalentity/Update' \
--header 'loginId: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"LegalEntityId": 68257,
"LegalName": "Updated Company LLC",
"IsDefault": true,
"EIN": "987654321",
"StreetAddress": "456 Updated Avenue",
"City": "Dallas",
"State": "TX",
"Zip": "75201",
"CountryCode": "US",
"IndustryId": "22",
"PrimaryContactName": "Jane Smith",
"PrimaryContactEmail": "jane.smith@updatedcompany.com",
"PrimaryContactPhoneNumber": "2145551234",
"PrimaryPhoneNumber": "2145550000",
"CallsPerMonth": 25000,
"EmployeeCount": 1000,
"DunsNumber": "987654321",
"Url": "https://www.updatedcompany.com",
"Dba": "Updated Co",
"LicenceNumber": "LIC-98765",
"CallPurposeDescription": "Sales and marketing outreach",
"PotentialNegativeReaction": "Medium"
}'
{
"LegalEntityId": 68257,
"AcctId": "YOUR_ACCOUNT_ID",
"IsCreated": false,
"IsUpdated": true
}
Response Fields
The unique identifier of the updated legal entity
The account ID the legal entity belongs to
Always false for update operations. Use the Create Legal Entity endpoint to create new entities.
true if the existing legal entity was successfully updated
Error Responses
| Status | Description |
|---|
| 400 Bad Request | Missing required field (LegalEntityId) or request body is empty |
| 401 Unauthorized | Invalid or missing API key |
| 404 Not Found | Legal entity with the specified LegalEntityId does not exist for your account |
| 500 Internal Server Error | Server error during processing |
Use the Get All Legal Entities endpoint to retrieve the LegalEntityId values for your account’s legal entities.