Documentation

sale.shipmentitem.update

sale.shipmentitem.update(Id, fields)

The method updates item of shipment table section.

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

Parameters

ParameterType Description
Idstring Number of item for shipment table section.
fieldsobject Fields, corresponding to available list of fields .


Examples

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


© «Bitrix24», 2001-2022
Up