Documentation

sale.paymentItemBasket.delete

Scope: catalog Permissions to execute: for all

sale.paymentItemBasket.delete(id)

Method deletes shopping cart and payment binding.

Returns true on success.

Parameters

ParameterType Description
idinteger Binding ID between payment and shopping cart.

Example

BX24.callMethod(
	'sale.paymentItemBasket.delete', 
	{
		id: 104
	}, 
	function(result)
	{
		if(result.error())
			console.error(result.error().ex);
		else
			console.log(result.data());
});

© «Bitrix24», 2001-2024