Skip to Content
StriseConnect
Mutations

contactSetPrimary

Make a contact its entity's primary contact, replacing the current one.

Required permission: entity_contacts:write

Response fields with their own permission:

mutation ContactSetPrimary($where: ContactWhereInput!) {
  contactSetPrimary(where: $where) {
    success
    contact {
      id
      name
      email
      phone
      isPrimary
      lastUsedAt
      createdAt
      updatedAt
      linkedPerson {
        id
        name
      }
    }
  }
}
input ContactWhereInput {
  id: ID!
}

Arguments

where ContactWhereInput! non-null input

ContactWhereInput!

Type

EntityContactPayload object

EntityContactPayload The payload for an entity contact mutation.

Response Fields

success Boolean! non-null scalar

Boolean!

contact EntityContact object

EntityContact The contact as it is after the mutation.

On this page