When an enterprise company is deleted, you'll get the event payload as below. It is sent once the account closure is done, not while it is under review or if it fails.
{
"event_type": "enterprise.company.deletion",
"resource_type": "company",
"resource_id": "CHK100000",
"timestamp": "2026-11-18T08:00:00Z",
"data": {
"easyship_company_id": "CHK100000",
"deleted_at": "2023-01-25T11:31:20.535Z"
}
}Here are the details of each field.
| Field Name | Data Type | Description |
|---|---|---|
event_type | String | Type of event. Here, enterprise.company.deletion. |
resource_type | String | Type of resource. Here, company. |
resource_id | String | Easyship ID of the deleted company. |
timestamp | String | Time the event was sent (ISO 8601 date-time). |
data | Object | Details of the deleted company. |
data.easyship_company_id | String | Easyship ID of the deleted company. |
data.deleted_at | String | Time the company was deleted (ISO 8601 date-time, with milliseconds). |
