Delete
Deletes a business by EIN or Business Id.
DELETE Business/Delete
Request Body
Field | Type | Description |
---|---|---|
BusinessId | Guid | Unique Identifier of the business |
EinOrSSN | string | EIN/SSN of the business to be deleted. |
IsForceDelete | Boolean | When true, deletes a business without validating whether the business has returns or not. |
Response Body
Field | Type | Description |
---|---|---|
StatusCode | number | Returns the status codes like 200,300 etc. |
StatusName | string | Name of the status code. |
StatusMessage | string | Detailed status message |
BusinessId | Guid | Unique Identifier of the business |
Errors | object[] | Shows detailed error information. |
  Code | string | Returns the validation error code. |
  Name | string | Name of the validation error. |
  Message | string | Description of the validation error. |
  Type | string | Type of validation error. |
Request JSON
"Business/Delete?BusinessId=5b0aedcc-96f5-44ea-8643-c1fd1515398c&EINOrSSN=003313331&isForceDelete=True"
Response JSON
{ "StatusCode": 200, "StatusName": "Ok", "StatusMessage": "Successful API call", "BusinessId": "9094e428-8aca-46b0-873b-be9cc679f1b9", "Errors": null}