Skip to content

suppliers.deleted

Crewsum sends suppliers.deleted when a supplier is deleted.

suppliers.deleted
  • The Delete Supplier API endpoint (DELETE /v1/suppliers/suppliers/:id).
  • Deleting a supplier in the Crewsum app.

Crewsum sends the event only after the change is saved. A request that fails or is rejected sends no event. See Delivery for timing and retries.

data.suppliers is an array with one supplier, sent with isDeleted: true.

{
"event": "suppliers.deleted",
"data": {
"suppliers": [
{
"id": "supplier-stu123vwx4567890",
"name": "Atlas Staffing",
"description": "Contract technician agency",
"isArchived": false,
"isDeleted": true,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-30T09:41:27.000Z"
}
]
}
}