Skip to Content
StriseConnect
Mutations

contactUpdate

Replace a contact's details. Every field is written, so an optional field left out is cleared.

Required permission: entity_contacts:write

Response fields with their own permission:

mutation ContactUpdate($where: ContactUpdateInput!) {
  contactUpdate(where: $where) {
    success
    contact {
      id
      name
      email
      phone
      isPrimary
      lastUsedAt
      createdAt
      updatedAt
      linkedPerson {
        id
        name
      }
    }
  }
}
input ContactUpdateInput {
  id: ID!
  name: String!
  email: String
  phone: String
  linkedPerson: BusinessPersonId
}

Arguments

where ContactUpdateInput! non-null input

ContactUpdateInput!

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