Vendor Contacts
Create a new vendor contact
Create a new contact for a vendor.
Contacts represent individuals at the vendor who can be reached for various purposes.
post/vendor-contacts
Request body
Example request
{
"vendorId": "550e8400-e29b-41d4-a716-446655440001",
"email": "john.smith@abcwarehouse.com",
"phone": "+1-555-123-4567",
"role": "Billing Manager",
"roles": [
"BILLING",
"AGENT"
]
}Response
Vendor contact created successfully
Example response
{
"object": "VENDOR_CONTACT",
"vendor": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "ERP-USER-12345"
},
"email": "john.smith@abcwarehouse.com",
"phone": "+1-555-123-4567",
"role": "Billing Manager",
"roles": [
"BILLING",
"AGENT"
],
"deletedBy": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "ERP-USER-12345",
"email": "john.doe@example.com",
"name": "John Doe",
"phone": "+1-555-123-4567",
"phoneExt": "123",
"status": "ACTIVE",
"avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-01-15T14:30:00Z"
},
"createdAt": "2025-01-15T10:00:00Z"
}