Skip to content

supplier-contacts.created

Crewsum sends supplier-contacts.created when one or more supplier contacts are created.

supplier-contacts.created
  • The Create Supplier Contact API endpoint (POST /v1/supplier-contacts/supplier-contacts).
  • Adding a contact to a supplier in the Crewsum app, including contacts added while you create the supplier.

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 new supplierContact.

{
"event": "supplier-contacts.created",
"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": "Account manager",
"email": "marcus.lee@example.com",
"isArchived": false,
"isDeleted": false,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-28T14:05:12.000Z"
}
}
]
}
}