Space Docs
API ReferenceCustomer

customer.create

Type: Mutation · Auth: Workspace-aware

Input

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
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

Example

{
  "legalName": "example",
  "displayName": "example",
  "customerType": "prospect",
  "vertical": null,
  "industrySegment": "corporate",
  "status": "active",
  "taxExempt": false
}

On this page