Click or drag to resize

New Shipment

This topic describes the ShipExec Client NewShipment Business Rule

A business rule hook that fires after a new shipment has been created

Sample NewShipment Business Rule
JavaScript
    this.NewShipment = function(shipmentRequest) { 

        //Example of rule to populate shipper reference with a warehouse ID
        //for every new package by default
        shipmentRequest.Packages[0].ShipperReference = "WHS056";

    }

See Also