Create Vendor
Create a new vendor.
Required fields:
- `title`: Vendor name
- `vendorType`: One of `CONSULTANT`, `FINANCING`, `LOGISTICS`, `MANUFACTURER`, `SUBCONTRACTOR`, `SUPPLIER`
Optional fields:
- `website`: Vendor website URL (max 2048 chars)
- `description`: Vendor description
- `imageUrl`: Vendor image URL
- `ownerId`: Owner user ID
- `isActive`: Whether the vendor is active (default: true)
- `contacts`: Array of contact IDs to associate
- `projectIds`: Array of project IDs to link this vendor to
- `custom`: Custom fields object
Authentication
x-api-keystring
API Key authentication via header
Query parameters
allow_new_options
Whether to allow creation of new dropdown options during record creation
Request
This endpoint expects an object.
title
Vendor name
vendorType
The type of vendor
website
Vendor website URL
description
Vendor description
imageUrl
Vendor image URL
ownerId
Owner user ID
isActive
Whether the vendor is active
contacts
Contact IDs to associate with this vendor
projectIds
Project IDs to link this vendor to
custom
Custom fields
Response
Matching vendor found (upsert)
id
Unique identifier
createdAt
Creation timestamp
updatedAt
Last update timestamp
title
Record title/name
description
Record description
address
Record location/address
isActive
Whether the record is active
primaryEmail
Primary contact email
primaryPhone
Primary contact phone
number
Record number (e.g., 1234)
custom
Custom fields
vendorType
The type of vendor
website
Vendor website URL
projectIds
IDs of projects this vendor is linked to
Errors
400
Bad Request Error
401
Unauthorized Error
