enterprise.company.deletion

📘

Only available for Easyship Enterprise API

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 NameData TypeDescription
event_typeStringType of event. Here, enterprise.company.deletion.
resource_typeStringType of resource. Here, company.
resource_idStringEasyship ID of the deleted company.
timestampStringTime the event was sent (ISO 8601 date-time).
dataObjectDetails of the deleted company.
data.easyship_company_idStringEasyship ID of the deleted company.
data.deleted_atStringTime the company was deleted (ISO 8601 date-time, with milliseconds).