end-customers.deleted
Crewsum sends end-customers.deleted when an end customer is deleted.
Event type
Section titled “Event type”end-customers.deletedWhen it is sent
Section titled “When it is sent”- The Delete End Customer API endpoint (
DELETE /v1/end-customers/end-customers/:id). - Deleting an end customer 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.
Payload
Section titled “Payload”data.endCustomers is an array with one end customer, sent with isDeleted: true.
{ "event": "end-customers.deleted", "data": { "endCustomers": [ { "id": "endcustomer-abc123def4567890", "name": "Bayview Distribution Center", "description": "Main distribution site", "isArchived": false, "createdAt": "2026-09-28T14:05:12.000Z", "updatedAt": "2026-09-30T09:41:27.000Z", "isDeleted": true, "clientId": "client-ghi123jkl4567890", "clientName": "Northwind Logistics", "clientArchived": false, "clientDeleted": false, "email": "receiving@example.com", "phoneNumber": "555-0100", "address": "100 Harbor Way, Oakland, CA", "notes": "Use dock 4 for deliveries" } ] }}