ZRM Docs
API ReferenceContact

contact.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
customerIdstringNoID of the associated customer
vendorIdstringNoID of the associated vendor
firstNamestringYesFirst name
lastNamestringYesLast name
titlestringNoTitle
emailstring.emailNoEmail
phonestringNoPhone
mobilestringNoMobile
roleTagsstring[]Yes[]Role tags
preferredContactMethodenum(email, phone, mobile, portal)NoPreferred contact method
portalAccessStatusenum(none, invited, active, suspended)Yes"none"Portal access status
statusenum(active, inactive)Yes"active"Status
notesSummarystringNoNotes summary
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Example

{
  "customerId": "550e8400-e29b-41d4-a716-446655440000",
  "vendorId": "550e8400-e29b-41d4-a716-446655440000",
  "firstName": "John",
  "lastName": "Doe",
  "title": "Example Title",
  "email": "user@example.com",
  "roleTags": [],
  "portalAccessStatus": "none",
  "status": "active",
  "visibilityMode": "global"
}

On this page