Documentation

crm.item.payment.delivery.setDelivery

crm.item.payment.delivery.setDelivery(id: number, deliveryId : number)

Updates delivery details inside a payment.

Parameters

Parameter Description
id Payment ID.
deliveryId Delivery ID.

Example

BX.rest.callMethod(
	'crm.item.payment.delivery.setDelivery',
	{
		id: 340,
		deliveryId: 33,
	},
	function(result) 
	{
		if (result.error())
		{
			console.error(result.answer.error_description);
		}
		else
		{
			console.log(result.data());
		}
	}
);


© «Bitrix24», 2001-2024