OBJECT

ContactMutation

link GraphQL Schema definition

  • type ContactMutation {
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contact: [Not documented]
  • create(
  • contact: ContactCreateInput!
  • ): Contact! @deprecated( reason: "Use PhonebookMutation.personCreate for creating person contacts" )
  • # Requires access to resource GRAPHQL_CONTACT.
  • # Cannot edit special contacts
  • #
  • # Arguments
  • # contactNid: [Not documented]
  • # contact: [Not documented]
  • update(
  • contactNid: ContactNid!,
  • contact: ContactUpdateInput!
  • ): Contact! @deprecated( reason: "Use PhonebookMutation.personUpdate for updating person contacts" )
  • # Requires access to resource CONTACT_DELETE_PERMANENTLY.
  • # Cannot edit special contacts
  • #
  • # Arguments
  • # contactNidList: [Not documented]
  • permanentlyDelete(contactNidList: [ContactNid!]!): Boolean
  • # Label related mutations
  • label: ContactLabelMutation!
  • # Merges contacts into single one
  • #
  • # Arguments
  • # targetContactNid:
  • # contactNidListToMerge:
  • merge(targetContactNid: ContactNid!, contactNidListToMerge: [ContactNid!]!): NonNullContactValueOrErrorList!
  • # Arguments
  • # contactNidListToDelete:
  • deleteMultiple(contactNidListToDelete: [ContactNid!]!): NonNullBooleanValueOrErrorList!
  • # Arguments
  • # contactNidListToDelete:
  • permanentlyDeleteMultiple(
  • contactNidListToDelete: [ContactNid!]!
  • ): NonNullBooleanValueOrErrorList!
  • # Requires access to resource CONTACT_MASK
  • mask: ContactMaskMutationSection!
  • # Passport related mutations.
  • # Requires access to resource GRAPHQL_CONTACT_EDIT
  • passport: ContactPassportMutationSection!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactExternalId:
  • # contact:
  • updateByExternalId(
  • contactExternalId: ContactExternalId!,
  • contact: ContactUpdateInput!
  • ): Contact!
  • }