v1

latestOpenAPI 3.0.12026-08-063985821.3 MB
Contact API:Contacts

Update an existing contact

put/contacts/{contactId}

Path parameters

contactIdinteger required

Headers

X-Allow-Duplicatesstring

Duplicate override code from the header of an earlier 409 response

Request body

firstNamestring nullable
lastNamestring nullable
emailstring nullable
phonestring nullable
mobilestring nullable
salutationstring nullable

Salutation/honorific/title

unsubscribedboolean
summarystring nullable
socialobject nullable
positionstring nullable
companyIdinteger nullable
reportsToContactIdinteger nullable
officeAddressIdstring uuid nullable
statusIdinteger nullable

Contact status

ownerUserIdinteger nullable
recruiterUserIdinteger[] nullable
otherEmailstring[] nullable

Example request

{
  "social": {
    "facebook": "https://www.facebook.com/JobAdder",
    "twitter": "https://twitter.com/jobadder",
    "linkedin": "https://www.linkedin.com/company/866656/"
  },
  "custom": [
    {
      "fieldId": 1,
      "value": "Text value"
    },
    {
      "fieldId": 2,
      "value": [
        "List value 1",
        "List value 2"
      ]
    },
    {
      "fieldId": 3,
      "value": "2018-07-01"
    }
  ]
}

Response

Contact was successfully updated