sale.shipment.update
sale.shipment.update(Id, fields)
The method updates fields of shipment item.
When successful, returns shipment resource in response body.
Parameters
Parameter | Type | Description |
---|---|---|
Id | string | Number of shipment item. |
fields | object | Fields, corresponding to available list of fields. |
Examples
BX24.callMethod( 'sale.shipment.update', { id: 34, fields: { deducted: 'N', deliveryDocNum: '000000001', trackingNumber: '0000000002', comments: 'Comments', statusId: 'DN', responsibleId: '1', deliveryId: '1', customPriceDelivery: 'N', priceDelivery: '500', allowDelivery: 'Y', basePriceDelivery: '500' }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024