contactUpdate

Graphql fields and variables for the contactUpdate mutation

Update a contact

Scope required: standard:write

For a complete list of input attributes see the ContactAttributes type

mutation contactUpdate ($id: ID!, $code: String!, $attributes: ContactAttributes!) {
  contactUpdate (id: $id, code: $code, attributes: $attributes) {
      contact {
        accountId
        code
        createdAt
        description
        email
        entityId
        firstName
        fullName
        id
        lastName
        linkedinUrl
        mailingCity
        mailingCountry
        mailingState
        mailingStreet
        mailingZip
        mobile
        phone
        portalAccess
        salutation
        title
        updatedAt
      }
      errors
  }
}

Arguments

{
  "id": "456123",
  "code": "",
  "attributes": {
    "code": "",
    "firstName": "",
    "lastName": "",
    "email": "",
    "salutation": "",
    "title": "",
    "phone": "",
    "mobile": "",
    "mailingStreet": "",
    "mailingCity": "",
    "mailingZip": "",
    "mailingState": "",
    "mailingCountry": "",
    "portalAccess": true,
    "description": "",
    "accountId": "456123",
    "campaignCode": "",
    "linkedinUrl": ""
  }
}
Name
Type
Description

id

ID

code

String

Response

Name
Type
Description

contact

errors

String

Last updated

Was this helpful?