Documentation

sale.paymentItemShipment.update

Scope: catalog Permissions to execute: for all

sale.paymentItemShipment.update(id, fields)

Method updates payment and shipment binding fields.

Parameters

ParameterType Description
idinteger Payment and shipment binding ID.
fieldsobject Fields, corresponding available list of fields.


Example

BX24.callMethod(
	'sale.paymentItemShipment.update', 
	{
		id: 114,
		fields: {	      
			xmlId: 111111111
		}
	}, 
	function(result)
	{
		if(result.error())
			console.error(result.error().ex);
		else
			console.log(result.data());
});

© «Bitrix24», 2001-2024