Discussions
Why can't I update custom fields values in a lead?
6 months ago by Dev Ex
I'm making PATCH request https://{subdomain}.kommo.com/api/v4/leads/{id} to update custom fileds values. I get code 200 OK but nothing changes. Here is JSON:
[
{
"name": "Kommo Teste",
"price": 150,
"custom_fields_values": [
{
"field_id": 1071794,
"values": [
{
"value": 1719943200
}
]
},
{
"field_id": 1071798,
"values": [
{
"value": 1720031340
}
]
},
{
"field_id": 1071810,
"values": [
{
"value": "Depósito"
}
]
},
{
"field_id": 1072464,
"values": [
{
"value": "Kommo Teste"
}
]
},
{
"field_id": 1072466,
"values": [
{
"value": "Kommo Teste 2"
}
]
},
{
"field_id": 1071808,
"field_name": "Sistema",
"values": [
{
"value": "Kommo"
}
]
}
],
"_embedded": {
"tags": [
{
"name": "Kommo Teste"
}
]
},
"responsible_user_id": 11479095,
"status_id": 71091935,
"pipeline_id": 9142983
}
]