v1
latestOpenAPI 3.1.02026-07-241630614.2 KBUpdate custom field
This method allows to update a singular custom field of an entity(leads/contacts/companies)
patch/api/v4/{entity_type}/custom_fields/{id}
Path parameters
entity_type'leads' | 'contacts' | 'companies' required
Entity type
idinteger required
Custom field ID
Request body
Response
201
Example response
{
"_total_items": 1,
"_embedded": {
"custom_fields": [
{
"id": 1278898087,
"name": "New custom field name",
"type": "textarea",
"account_id": 17079858,
"code": "DESCRIPTION",
"sort": 560,
"request_id": "0",
"catalog_id": 1095,
"is_deletable": true,
"entity_type": "catalogs",
"_links": {
"self": {
"href": "https://example.kommo.com/api/v4/leads/custom_fields/1278898087"
}
}
}
]
}
}