Documentation

crm.item.payment.update

crm.item.payment.update(id: number, fields : {paySystemId})

This method updates payment details.

Parameters

Parameter Description
id Payment ID.
fields Field paySystemId – payment system ID.

Example

BX.callMethod(
	'crm.item.payment.update',
	{
		id: 177,
		fields: {
			paySystemId: 4
		}
	},
	function(result) 
	{
		if (result.error())
		{
			console.error(result.answer.error_description);
		}
		else
		{
			console.log(result.data());
		}
	}
);


© «Bitrix24», 2001-2024