Companies
Update a single field value on a Company
Changed on| ⚠️ This endpoint is currently in BETA |
|---|
Update a single field value on a company.
post/v2/companies/{companyId}/fields/{fieldId}
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/companies/{companyId}/fields/{fieldId}
- AuthHTTP bearer
Path parameters
companyIdinteger required
Company ID
fieldIdstring required
Example:affinity-data-location
Field ID
Request body
Example request
{
"value": {
"type": "company-multi",
"data": [
{
"id": 1
},
{
"id": 2
}
]
}
}Response
No Content
Changes
- info
added
company-multicompanydatetimedropdowndropdown-multinumbernumber-multilocationlocation-multipersonperson-multiranked-dropdownfilterable-textfilterable-text-multitextdiscriminator mapping keys to therequest property - info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- info