Documentation

sale.shipmentitem.add

sale.shipmentitem.add(fields.shipmentitem)

The method adds item of shipment table section.

When successful, returns shipment table section resource in response body.

Parameters

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


Examples

BX24.callMethod(
    'sale.shipmentitem.add', 
    {
	  fields: {
		  orderDeliveryId: 33,
		  basketId: 18,
		  quantity: 1
		}
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2022
Up