Skip to content
Advertisement

Fill custom CRM fields in Bitrix via REST API

I have the need to fill custom fields in Bitrix24 CRM via REST API.

When it comes to working on standard fields (like TITLE, TEL, etc) it works, but if I try to valorize a custom field by putting it’s property name in the request the endpoint simply ignores it.

Here you have a snippet:

JavaScript

Did anyone have the same need? How can I solve it?

Advertisement

Answer

I found the solution. Simply write the Field ID instead of the Field Name. The Field ID looks like “UF_CRM_5AERER454DD4″. By putting this as key and the value after ” => ” the property gets valorized.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement