Skip to content

supplier-contacts.updated

Crewsum sends supplier-contacts.updated when a supplier contact is updated.

supplier-contacts.updated
  • The Update Supplier Contact API endpoint (PUT /v1/supplier-contacts/supplier-contacts/:id).
  • Editing a supplier contact 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.contacts is an array. Each item has the supplier and the supplierContact as it is after the update.

{
"event": "supplier-contacts.updated",
"data": {
"contacts": [
{
"supplier": {
"id": "supplier-stu123vwx4567890",
"name": "Atlas Staffing",
"description": "Contract technician agency",
"isArchived": false,
"isDeleted": false,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-28T14:05:12.000Z"
},
"supplierContact": {
"id": "suppliercontact-vwx123yza4567890",
"supplierId": "supplier-stu123vwx4567890",
"supplierName": "Atlas Staffing",
"name": "Marcus Lee",
"description": "Senior account manager",
"email": "marcus.lee@example.com",
"isArchived": false,
"isDeleted": false,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-30T09:41:27.000Z"
}
}
]
}
}

If the API request names a supplier contact ID that does not exist, the request still succeeds and Crewsum sends this event with an empty contacts array. Ignore events with an empty list.