Append a custom attribute option to a company
Changed onAdds a single option selection to an options-type custom attribute on a company record without replacing the existing selections — unlike PATCH /companies/{id}, which replaces all values of each attribute it receives.
Appending an option that is already selected is idempotent: the existing selection is returned with 200 and no duplicate is created. For single-select attributes (multipleValues: false) the append is rejected with 409 when another value is already set.
Returns 404 if the attribute, option, or company does not exist for this agency, and 422 if the attribute is not of type options.
Request
- Base URLhttps://api.recruitwithatlas.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Record identifier (person, company or meeting ID)
Custom attribute ID
Request body
Example request
{
"optionId": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}Response
Option was already selected (idempotent no-op)
Changes
- info
added the optional property
to the response with the status
- info