Open xenia-gontar opened 1 month ago
Hello! I use this type of code to change product rows in a deal:
bx24.callMethod( "crm.deal.productrows.set", id = 1, rows= [{"PRODUCT_ID": 3, "PRICE": 100.00, "QUANTITY": 4}, {"PRODUCT_ID": 3, "PRICE": 200.00, "QUANTITY": 4}])
But it seems that it only deletes product rows because crm.deal.productrows.get returns nothing.
What am I doing wrong?
Hi Xenia,
The definition of API call seems to be valid, and it might be internal portal error.
Are you running app against cloud or on-promises version of bitrix24 portal?
Against cloud version
Hello! I use this type of code to change product rows in a deal:
bx24.callMethod( "crm.deal.productrows.set", id = 1, rows= [{"PRODUCT_ID": 3, "PRICE": 100.00, "QUANTITY": 4}, {"PRODUCT_ID": 3, "PRICE": 200.00, "QUANTITY": 4}])
But it seems that it only deletes product rows because crm.deal.productrows.get returns nothing.
What am I doing wrong?