v1

latestOpenAPI 3.0.12026-08-063985821.3 MB
Company API:Companies

Update an existing company

put/companies/{companyId}

Path parameters

companyIdinteger required

Headers

X-Allow-Duplicatesstring

Duplicate override code from the header of an earlier 409 response

Request body

namestring nullable required
mainContactIdinteger nullable
primaryAddressIdstring uuid nullable
parentCompanyIdinteger nullable
summarystring nullable
legalNamestring nullable

Company LegalName

socialobject nullable
statusIdinteger nullable

Company status

ownerUserIdinteger nullable
recruiterUserIdinteger[] 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

Company was successfully updated