Documentation

crm.deal.delete

crm.deal.delete(id)

Deletes the specified deal and all the associated objects.

Parameters

Parameter Description
id The deal ID.

Example

<script type="text/javascript">
	var id = prompt("Enter the deal ID");
		BX24.callMethod(
			"crm.deal.delete", 
			{ id: id }, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.info(result.data());
			}
		);	
</script>
© «Bitrix24», 2001-2022
Up