Skip to content

end-customers.updated

Crewsum sends end-customers.updated when an end customer is updated.

end-customers.updated
  • The Update End Customer API endpoint (PUT /v1/end-customers/end-customers/:id).
  • Editing 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.

data.endCustomers is an array with one end customer, as it is after the update.

{
"event": "end-customers.updated",
"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": false,
"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 6 for deliveries"
}
]
}
}