Space Docs
Domain Model

Vendor

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
legalNamestringYes—Legal name
displayNamestringYes—Display name
vendorTypesstring[]Yes—Vendor types
statusenum(active, inactive, suspended)Yes—Status
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)No—Payment terms
supplierCodestringNo—Supplier code
creditLimitstringNo—Credit limit
insuranceCertExpirystring.date-timeNo—Insurance cert expiry
w9OnFilebooleanYes—W9on file
licenseNumberstringNo—License number
licenseExpirystring.date-timeNo—License expiry
productLinesstring[]No—Product lines
defaultLeadTimeDaysintegerNo—Default lead time days
ratingintegerNo—Rating
billingPreferencesobjectNo—Billing preferences
taxProfileobjectNo—Tax profile
ownerUserIdstringNo—ID of the associated owner user
parentVendorIdunknownNo—ID of the associated parent vendor
notesSummarystringNo—Notes summary
websiteunknownNo—Website
primaryContactEmailunknownNo—Primary contact email
primaryContactPhoneunknownNo—Primary contact phone
physicalAddressunknownNo—Physical address
mailingAddressunknownNo—Mailing address
billingAddressunknownNo—Billing address
accountNumberunknownNo—Account number
logoS3KeyunknownNo—Logo s3key
workspaceIdstringYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
legalNamestringYes—Legal name
displayNamestringYes—Display name
vendorTypesstring[]Yes—Vendor types
statusenum(active, inactive, suspended)Yes"active"Status
paymentTermsunknownNo—Payment terms
supplierCodeunknownNo—Supplier code
creditLimitstring,nullNo—Credit limit
insuranceCertExpiryunknownNo—Insurance cert expiry
w9OnFilebooleanYesfalseW9on file
licenseNumberunknownNo—License number
licenseExpiryunknownNo—License expiry
productLinesstring[]No—Product lines
defaultLeadTimeDaysunknownNo—Default lead time days
ratingunknownNo—Rating
billingPreferencesobjectNo—Billing preferences
taxProfileobjectNo—Tax profile
ownerUserIdunknownNo—ID of the associated owner user
parentVendorIdunknownNo—ID of the associated parent vendor
notesSummarystring,nullNo—Notes summary
websiteunknownNo—Website
primaryContactEmailunknownNo—Primary contact email
primaryContactPhoneunknownNo—Primary contact phone
physicalAddressunknownNo—Physical address
mailingAddressunknownNo—Mailing address
billingAddressunknownNo—Billing address
accountNumberunknownNo—Account number
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
legalNamestringNo—Legal name
displayNamestringNo—Display name
vendorTypesstring[]No—Vendor types
statusenum(active, inactive, suspended)No—Status
paymentTermsunknownNo—Payment terms
supplierCodeunknownNo—Supplier code
creditLimitstring,nullNo—Credit limit
insuranceCertExpiryunknownNo—Insurance cert expiry
w9OnFilebooleanNo—W9on file
licenseNumberunknownNo—License number
licenseExpiryunknownNo—License expiry
productLinesstring[]No—Product lines
defaultLeadTimeDaysunknownNo—Default lead time days
ratingunknownNo—Rating
billingPreferencesobjectNo—Billing preferences
taxProfileobjectNo—Tax profile
ownerUserIdunknownNo—ID of the associated owner user
parentVendorIdunknownNo—ID of the associated parent vendor
notesSummarystring,nullNo—Notes summary
websiteunknownNo—Website
primaryContactEmailunknownNo—Primary contact email
primaryContactPhoneunknownNo—Primary contact phone
physicalAddressunknownNo—Physical address
mailingAddressunknownNo—Mailing address
billingAddressunknownNo—Billing address
accountNumberunknownNo—Account number

On this page