crm.item.payment.pay
crm.item.payment.pay(id: number)
This method updates payment status to «Paid».
Parameters
Parameter | Description |
---|---|
id | Payment ID. |
Example
BX.rest.callMethod( 'crm.item.payment.pay', { id: 179 }, function(result) { if (result.error()) { console.error(result.answer.error_description); } else { console.log(result.data()); } } );
© «Bitrix24», 2001-2024