ZRM Docs
Domain Model

Vendor

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
legalNamestringYesLegal name
displayNamestringYesDisplay name
vendorTypeenum(distributor, manufacturer, subcontractor, consultant)YesVendor type
statusenum(active, inactive, suspended)YesStatus
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)NoPayment terms
supplierCodestringNoSupplier code
creditLimitstringNoCredit limit
insuranceCertExpirystring.date-timeNoInsurance cert expiry
w9OnFilebooleanYesW9on file
licenseNumberstringNoLicense number
licenseExpirystring.date-timeNoLicense expiry
productLinesstring[]NoProduct lines
defaultLeadTimeDaysintegerNoDefault lead time days
ratingintegerNoRating
billingPreferencesobjectNoBilling preferences
taxProfileobjectNoTax profile
ownerUserIdstringNoID of the associated owner user
notesSummarystringNoNotes summary
websiteunknownNoWebsite
primaryContactEmailunknownNoPrimary contact email
primaryContactPhoneunknownNoPrimary contact phone
physicalAddressunknownNoPhysical address
mailingAddressunknownNoMailing address
billingAddressunknownNoBilling address
accountNumberunknownNoAccount number
workspaceIdstringYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
legalNamestringYesLegal name
displayNamestringYesDisplay name
vendorTypeenum(distributor, manufacturer, subcontractor, consultant)YesVendor type
statusenum(active, inactive, suspended)Yes"active"Status
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)NoPayment terms
supplierCodestringNoSupplier code
creditLimitstringNoCredit limit
insuranceCertExpirystring.date-timeNoInsurance cert expiry
w9OnFilebooleanYesfalseW9on file
licenseNumberstringNoLicense number
licenseExpirystring.date-timeNoLicense expiry
productLinesstring[]NoProduct lines
defaultLeadTimeDaysintegerNoDefault lead time days
ratingintegerNoRating
billingPreferencesobjectNoBilling preferences
taxProfileobjectNoTax profile
ownerUserIdstringNoID of the associated owner user
notesSummarystringNoNotes summary
websiteunknownNoWebsite
primaryContactEmailunknownNoPrimary contact email
primaryContactPhoneunknownNoPrimary contact phone
physicalAddressunknownNoPhysical address
mailingAddressunknownNoMailing address
billingAddressunknownNoBilling address
accountNumberunknownNoAccount number
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
legalNamestringNoLegal name
displayNamestringNoDisplay name
vendorTypeenum(distributor, manufacturer, subcontractor, consultant)NoVendor type
statusenum(active, inactive, suspended)No"active"Status
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)NoPayment terms
supplierCodestringNoSupplier code
creditLimitstringNoCredit limit
insuranceCertExpirystring.date-timeNoInsurance cert expiry
w9OnFilebooleanNofalseW9on file
licenseNumberstringNoLicense number
licenseExpirystring.date-timeNoLicense expiry
productLinesstring[]NoProduct lines
defaultLeadTimeDaysintegerNoDefault lead time days
ratingintegerNoRating
billingPreferencesobjectNoBilling preferences
taxProfileobjectNoTax profile
ownerUserIdstringNoID of the associated owner user
notesSummarystringNoNotes summary
websiteunknownNoWebsite
primaryContactEmailunknownNoPrimary contact email
primaryContactPhoneunknownNoPrimary contact phone
physicalAddressunknownNoPhysical address
mailingAddressunknownNoMailing address
billingAddressunknownNoBilling address
accountNumberunknownNoAccount number

On this page