Space Docs
Domain Model

Customer

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
legalNamestringYes—Legal name
displayNamestringYes—Display name
customerTypeenum(prospect, active, partner)Yes—Customer type
verticalunknownNo—Vertical
industrySegmentenum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other)No—Industry segment
statusenum(active, inactive, suspended, churned)Yes—Status
customerSincestring.date-timeNo—Customer since
contractTermsobjectNo—Contract terms
billingPreferencesobjectNo—Billing preferences
taxProfileobjectNo—Tax profile
healthScoreintegerNo—Health score
annualRevenueunknownNo—Annual revenue
ownerUserIdstringNo—ID of the associated owner user
parentCustomerIdunknownNo—ID of the associated parent customer
notesSummarystringNo—Notes summary
accountNumberstringNo—Account number
websitestring.uriNo—Website
primaryPhonestringNo—Primary phone
primaryEmailstring.emailNo—Primary email
faxNumberstringNo—Fax number
physicalAddressobjectNo—Physical address
mailingAddressobjectNo—Mailing address
billingAddressobjectNo—Billing address
paymentTermsenum(net_15, net_30, net_45, net_60, net_90, due_on_receipt, custom)No—Payment terms
taxExemptbooleanYesfalseTax exempt
creditLimitunknownNo—Credit limit
sourceenum(referral, web, trade_show, cold_call, partner, other)No—Source
referredBystringNo—Referred by
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
customerTypeenum(prospect, active, partner)Yes—Customer type
verticalunknownNo—Vertical
industrySegmentenum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other)No—Industry segment
statusenum(active, inactive, suspended, churned)Yes"active"Status
customerSinceunknownNo—Customer since
contractTermsunknownNo—Contract terms
billingPreferencesunknownNo—Billing preferences
taxProfileunknownNo—Tax profile
healthScoreintegerNo—Health score
annualRevenueunknownNo—Annual revenue
ownerUserIdunknownNo—ID of the associated owner user
parentCustomerIdunknownNo—ID of the associated parent customer
inheritParentLogobooleanNo—Inherit parent logo
notesSummarystring,nullNo—Notes summary
accountNumberunknownNo—Account number
websiteunknownNo—Website
primaryPhoneunknownNo—Primary phone
primaryEmailunknownNo—Primary email
faxNumberunknownNo—Fax number
physicalAddressobjectNo—Physical address
mailingAddressobjectNo—Mailing address
billingAddressobjectNo—Billing address
paymentTermsunknownNo—Payment terms
taxExemptbooleanYesfalseTax exempt
creditLimitunknownNo—Credit limit
sourceunknownNo—Source
referredByunknownNo—Referred by
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode
siteobjectNo—Site

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
legalNamestringNo—Legal name
displayNamestringNo—Display name
customerTypeenum(prospect, active, partner)No—Customer type
verticalunknownNo—Vertical
industrySegmentenum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other)No—Industry segment
statusenum(active, inactive, suspended, churned)No—Status
customerSinceunknownNo—Customer since
contractTermsunknownNo—Contract terms
billingPreferencesunknownNo—Billing preferences
taxProfileunknownNo—Tax profile
healthScoreintegerNo—Health score
annualRevenueunknownNo—Annual revenue
ownerUserIdunknownNo—ID of the associated owner user
parentCustomerIdunknownNo—ID of the associated parent customer
notesSummarystring,nullNo—Notes summary
accountNumberunknownNo—Account number
websiteunknownNo—Website
primaryPhoneunknownNo—Primary phone
primaryEmailunknownNo—Primary email
faxNumberunknownNo—Fax number
physicalAddressobjectNo—Physical address
mailingAddressobjectNo—Mailing address
billingAddressobjectNo—Billing address
paymentTermsunknownNo—Payment terms
taxExemptbooleanNo—Tax exempt
creditLimitunknownNo—Credit limit
sourceunknownNo—Source
referredByunknownNo—Referred by

On this page