API ReferenceCustomer
customer.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| legalName | string | Yes | — | Legal name |
| displayName | string | Yes | — | Display name |
| customerType | enum(prospect, active, partner) | Yes | — | Customer type |
| vertical | unknown | No | — | Vertical |
| industrySegment | enum(corporate, retail, hospitality, healthcare, education, government, residential, industrial, financial, other) | No | — | Industry segment |
| status | enum(active, inactive, suspended, churned) | Yes | "active" | Status |
| customerSince | unknown | No | — | Customer since |
| contractTerms | unknown | No | — | Contract terms |
| billingPreferences | unknown | No | — | Billing preferences |
| taxProfile | unknown | No | — | Tax profile |
| healthScore | integer | No | — | Health score |
| annualRevenue | unknown | No | — | Annual revenue |
| ownerUserId | unknown | No | — | ID of the associated owner user |
| parentCustomerId | unknown | No | — | ID of the associated parent customer |
| notesSummary | string,null | No | — | Notes summary |
| accountNumber | unknown | No | — | Account number |
| website | unknown | No | — | Website |
| primaryPhone | unknown | No | — | Primary phone |
| primaryEmail | unknown | No | — | Primary email |
| faxNumber | unknown | No | — | Fax number |
| physicalAddress | object | No | — | Physical address |
| mailingAddress | object | No | — | Mailing address |
| billingAddress | object | No | — | Billing address |
| paymentTerms | unknown | No | — | Payment terms |
| taxExempt | boolean | Yes | false | Tax exempt |
| creditLimit | unknown | No | — | Credit limit |
| source | unknown | No | — | Source |
| referredBy | unknown | No | — | Referred by |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | unknown | No | — | Visibility mode |
| site | object | No | — | Site |
Example
{
"legalName": "example",
"displayName": "example",
"customerType": "prospect",
"vertical": null,
"industrySegment": "corporate",
"status": "active",
"taxExempt": false
}