Documentation

crm.item.payment.product.delete

Scope: catalog Permissions to execute: for all

crm.item.payment.product.delete(id: number)

Deletes product from a payment.

Parameters

Parameter Description
id Product item ID inside a payment.

Example

BX.rest.callMethod(
	'crm.item.payment.product.delete',
	{
		id: 169,
	},
	function(result) 
	{
		if (result.error())
		{
			console.error(result.answer.error_description);
		}
		else
		{
			console.log(result.data());
		}
	}
);


© «Bitrix24», 2001-2024