Skip to main content

PartnerContact

A contact of a partner.

type PartnerContact {
contactName: String
contactTitle: String
createdAt: DateTime!
deletedAt: DateTime
deletedBy: String
department: String
enteredBy: String!
firstName: String
id: ID!
isActive: Boolean!
isDefault: Boolean!
label: String
lastName: String
metadata: JSON!
notes: String
organizationId: String!
partnerId: String!
preferredTime: String
priority: String!
referenceId: String
timeZone: String
type: String!
updatedAt: DateTime!
updatedBy: String!
userId: ID
value: String!
}

Fields​

PartnerContact.contactName ● String scalar​

Full display name, kept as First Last.

PartnerContact.contactTitle ● String scalar​

The person's job title.

PartnerContact.createdAt ● DateTime! non-null scalar​

When the record was created.

PartnerContact.deletedAt ● DateTime scalar​

When the record was deleted. Empty while the record is live.

PartnerContact.deletedBy ● String scalar​

The ID of the user who deleted the record.

PartnerContact.department ● String scalar​

The person's department.

PartnerContact.enteredBy ● String! non-null scalar​

The ID of the user who created the record.

PartnerContact.firstName ● String scalar​

The person's first name.

PartnerContact.id ● ID! non-null scalar​

The unique ID of this record.

PartnerContact.isActive ● Boolean! non-null scalar​

Whether the record is active.

PartnerContact.isDefault ● Boolean! non-null scalar​

Whether this is the default.

PartnerContact.label ● String scalar​

A label for the contact.

PartnerContact.lastName ● String scalar​

The person's last name.

PartnerContact.metadata ● JSON! non-null scalar​

Additional data attached to the record, as JSON.

PartnerContact.notes ● String scalar​

Notes about the contact.

PartnerContact.organizationId ● String! non-null scalar​

The ID of the organization the record belongs to.

PartnerContact.partnerId ● String! non-null scalar​

The ID of the partner.

PartnerContact.preferredTime ● String scalar​

The best time to reach them.

PartnerContact.priority ● String! non-null scalar​

Whether this is the primary or a secondary contact.

PartnerContact.referenceId ● String scalar​

The contact PERSON's permanent reference — <partner code>-<8 hex>, e.g. C000110-a3f91b7e. Minted once at creation from a random UUID and STORED, so it survives every later edit to the person's name, email, phone or title. Replaces the old <code>@<firstnamelastname> string, which was derived on read and so was neither unique (two people with one name collided) nor stable (a typo fix changed it). Shared by every CHANNEL row of one person (phone/whatsapp/email), because it identifies the person, not the row — so it is deliberately NOT unique per row. Round-trip it on update: a save that omits it falls back to matching the row by id or by type+value. Null for a partner with no code. NOTE: this type is a near-duplicate of Contact (pre-existing debt) — a field added to one almost always belongs on both.

PartnerContact.timeZone ● String scalar​

Their time zone.

PartnerContact.type ● String! non-null scalar​

The kind of contact, for example email or phone.

PartnerContact.updatedAt ● DateTime! non-null scalar​

When the record was last changed.

PartnerContact.updatedBy ● String! non-null scalar​

The ID of the user who last changed the record.

PartnerContact.userId ● ID scalar​

The customer login (User.userType = CUSTOMER) this contact person IS. Re-resolved by name match on every partner write — never settable by the client. Null for the majority of contacts, who are not portal users.

PartnerContact.value ● String! non-null scalar​

The email address or phone number.

Member Of​

Partner object