Answer the question
In order to leave comments, you need to log in
How to add information to custom_fields in amocrm via api/v4?
The problem is this. We have some new custom fields and I need to update some deals by filling in these fields. I make a patch request to them (documentation, editing deals) - I get 200, but nothing changes in the end. I send the request like this:
PATCH /api/v4/leads
[
{
"id": 56440444,
"custom_field_values": [
{
"field_id": 1778770,
"values": [
{
"value": 10
}
]
}
]
},
{
"id": 56487008,
"custom_field_values": [
{
"field_id": 1961340,
"values": [
{
"value": 0
}
]
}
]
},
{
"id": 56487018,
"custom_field_values": [
{
"field_id": 1961340,
"values": [
{
"value": 0
}
]
}
]
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question