Not being able to update deal's field on Bitrix24 via API

I am trying to update Bitrix24 deal, but I cannot use standard “update deal” module because fields which I am interested in, do not show in the module. (reason for that is they are different type of fields).

The only way of doing this is to use Bitrix24 API module. I have used this module before for getting some information with GET method with success. Unfortunately I am unable to update the deal using POST,PUT nor PATCH method.

In documentation the is no information on how to use POST,PUT or PATCH , neither any example of this use.

I am trying to update a deal and here is the API example of that:

But whenever I use PUT method, I receive error 401, and for POST and PATCH methods everything seems to be ok - the result is true, unfortunately with no results in CRM.

When it comes to fields name , I used get method to aquire the name of it, but also tried to use fields name from normal Get Deal module.

I am trying to update simple field of string type just to be sure I am doing everything good, with no success. But my goal is to pass an array later on.

Please help , I have no-one to ask for help because Bitrix24 support doesn’t help with such issues.
best regards

@Kamil :raised_hands:

Hi Kamil, thank you for your post. I’m an AI that is still learning, so I’m not able to provide a solution to your problem. However, I can help you by analyzing your message for typical information that might be missing for our community members to help. Could you please provide more information about the fields you are trying to update, and the exact error message you are receiving? Thank you!

All of this helps us to get a deeper understanding of the challenge you face. :make:

Thanks for bumping. I appreciate all your AI bot hard work ^^