ZRM Docs
Domain Model

Customer

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
legalNamestringYesLegal name
displayNamestringYesDisplay name
customerTypeenum(prospect, active, partner)YesCustomer type
industrySegmentenum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other)NoIndustry segment
statusenum(active, inactive, suspended, churned)YesStatus
customerSincestring.date-timeNoCustomer since
contractTermsobjectNoContract terms
billingPreferencesobjectNoBilling preferences
taxProfileobjectNoTax profile
healthScoreintegerNoHealth score
annualRevenueunknownNoAnnual revenue
ownerUserIdstringNoID of the associated owner user
parentCustomerIdstringNoID of the associated parent customer
notesSummarystringNoNotes summary
accountNumberstringNoAccount number
websitestring.uriNoWebsite
primaryPhonestringNoPrimary phone
primaryEmailstring.emailNoPrimary email
faxNumberstringNoFax number
physicalAddressobjectNoPhysical address
mailingAddressobjectNoMailing address
billingAddressobjectNoBilling address
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)NoPayment terms
taxExemptbooleanYesfalseTax exempt
creditLimitunknownNoCredit limit
sourceenum(referral, web, trade_show, cold_call, partner, other)NoSource
referredBystringNoReferred by
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
customerTypeenum(prospect, active, partner)YesCustomer type
industrySegmentenum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other)NoIndustry segment
statusenum(active, inactive, suspended, churned)Yes"active"Status
customerSincestring.date-timeNoCustomer since
contractTermsobjectNoContract terms
billingPreferencesobjectNoBilling preferences
taxProfileobjectNoTax profile
healthScoreintegerNoHealth score
annualRevenueunknownNoAnnual revenue
ownerUserIdstringNoID of the associated owner user
parentCustomerIdstringNoID of the associated parent customer
notesSummarystringNoNotes summary
accountNumberstringNoAccount number
websitestring.uriNoWebsite
primaryPhonestringNoPrimary phone
primaryEmailstring.emailNoPrimary email
faxNumberstringNoFax number
physicalAddressobjectNoPhysical address
mailingAddressobjectNoMailing address
billingAddressobjectNoBilling address
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)NoPayment terms
taxExemptbooleanYesfalseTax exempt
creditLimitunknownNoCredit limit
sourceenum(referral, web, trade_show, cold_call, partner, other)NoSource
referredBystringNoReferred by
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
customerTypeenum(prospect, active, partner)NoCustomer type
industrySegmentenum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other)NoIndustry segment
statusenum(active, inactive, suspended, churned)No"active"Status
customerSincestring.date-timeNoCustomer since
contractTermsobjectNoContract terms
billingPreferencesobjectNoBilling preferences
taxProfileobjectNoTax profile
healthScoreintegerNoHealth score
annualRevenueunknownNoAnnual revenue
ownerUserIdstringNoID of the associated owner user
parentCustomerIdstringNoID of the associated parent customer
notesSummarystringNoNotes summary
accountNumberstringNoAccount number
websitestring.uriNoWebsite
primaryPhonestringNoPrimary phone
primaryEmailstring.emailNoPrimary email
faxNumberstringNoFax number
physicalAddressobjectNoPhysical address
mailingAddressobjectNoMailing address
billingAddressobjectNoBilling address
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)NoPayment terms
taxExemptbooleanNofalseTax exempt
creditLimitunknownNoCredit limit
sourceenum(referral, web, trade_show, cold_call, partner, other)NoSource
referredBystringNoReferred by

On this page