ZRM Docs
API ReferenceVendor

vendor.create

Type: Mutation · Auth: Workspace-aware

Input

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

Example

{
  "legalName": "example",
  "displayName": "example",
  "vendorType": "distributor",
  "status": "active",
  "paymentTerms": "net_15",
  "supplierCode": "example",
  "w9OnFile": false,
  "visibilityMode": "global"
}

On this page