SureTax Config API
PUT LegalEntities
Overview
The PUT LegalEntities API endpoint facilitates the process of modifying a legal entity.
OperationId: PUT LegalEntities
Authorization Method(s): OAuth
Verb: PUT
End Point: /api/v1/Account/LegalEntities/{entitycode}
Example Request
{
"entityName": "testentity",
"isActive": true,
"contactNumbers": [
{
"contactNumberType": "BusinessOther2",
"contactPhonenumber": "8148128234"
}
],
"entityAddress": {
"address1": "address1",
"address2": "string",
"city": "city",
"state": "TX",
"country": "US",
"zipcode": "12345",
"plus4": "1234"
},
"contactPersons": [
{
"personType": "Primary",
"personName": "testname",
"emailAddress": "test@test.com"
}
],
"fein": "1234567890",
"website": "www.test.com",
"notificationBusinessEmail": "business@wk.com",
"entityDescription": "entity description"
}*Mandatory parameter
| code | description |
|---|---|
| 200 | Successful API response. |
| 400 | Bad request. Invalid parameters or missing required information. |
| 401 | Unauthorized access. The request requires user authentication. |
| 500 | Internal server error. An error occurred while processing the request. |