Documentation

sale.paymentItemShipment.add

Scope: catalog Permissions to execute: for all

sale.paymentItemShipment.add(fields)

Method adds binding between payment and shipment.

Parameters

ParameterType Description
fieldsobject Fields, corresponding to available list of fields.

Example

BX24.callMethod(
	'sale.paymentItemShipment.add', 
	{
		fields: {
			shipmentId: 365,
			paymentId: 213
		}
	},
	function(result)
	{
		if (result.error())
			console.error(result.error().ex);
		else
			console.log(result.data());
});

© «Bitrix24», 2001-2024