Documentation

crm.deal.productrows.get

Scope: crm Permissions: for all

crm.deal.productrows.get(id)

Returns products inside the specified deal.

Returned product items can have the following types (TYPE field):

  • 1 – simple product;
  • 4 – SKU.

Parameters

Parameter Description
id The deal ID.

Example

	var id = prompt("Enter the deal ID");
		BX24.callMethod(
			"crm.deal.productrows.get", 
			{ id: id }, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.dir(result.data());
			}
		);	
</script>
© «Bitrix24», 2001-2024