This article provides an in depth explanation of ShipHawk’s rules engine and best practices. It includes instructions on creating and enabling rules and rule subtypes, and an extensive reference section that describes each rule criteria and actions.
...
Before using ShipHawk’s rules engine, note that rules do not apply retroactively to open orders. Rules only apply to new rates and rules from the time that the rule was enabled.
Configuring your rule
Rules are in ShipHawk composed of two parts: criteria and actions. Both parts are necessary to create a rule in ShipHawk.
...
Application of billing rules after carrier change
You can have the Shipping Policies related to billing and 3rd-party carrier accounts automatically apply when you manually change the carrier and save the changes. Existing Shipping Policies allowed the user to configure rules to automatically set preferred 3rd party carrier account details but these rules were only applied on order import. Previously, if the Shipping Clerk manually selected a different carrier, they had to manually update the new billing details. But now (as of 2024.4.0), ShipHawk will re-evaluate the Shipping Policies related to Billing Details and 3rd Party Account details when the changes are saved in the Order Details page. This eliminates the need for Shipping Clerks to know billing details and reduces the potential for mistakes when manually entering billing details.
Configuring your rule
Rules are in ShipHawk composed of two parts: criteria and actions. Both parts are necessary to create a rule in ShipHawk.
Criteria are the conditions that must be met in order to trigger the rule. You can specify multiple criteria per rule in order to automate fulfillment behavior for very specific cases. By default, rules apply to all orders, which will apply to all orders moving forward.
...
Rule Criteria | Type | Description |
---|---|---|
Any Rate Carrier Type | Carrier | A multi-picklist of carrier types like parcel, ltl and more. |
Backordered | Other | The item is backordered. (True/False) |
Carrier Name | Carrier | Name of the carrier. |
Carrier Service | Carrier | Name of the carrier service. |
Carrier Transit Time | Carrier | The estimated transit time for a carrier service. |
Carrier Type | Carrier | The carrier type: parcel or LTL. |
Channel Domain | Channel | The channel domain. |
Channel Name | Channel | The channel name. |
Destination Address 1 | Destination | Address listed in the destination address. |
Destination Address 2 | Destination | Address listed in the destination address. |
Destination Address Type | Destination | Residential, commercial or PO Box. |
Destination City | Destination | City listed in the destination address. |
Destination Company Name | Destination | Company name listed in the destination address. |
Destination Contact Name | Destination | Contact name listed in the destination address. |
Destination Country | Destination | Country listed in the destination address. |
Destination Email | Destination | Email associated with the contact person for the destination address. |
Destination State | Destination | State listed in the destination address. |
Destination Zip Code | Destination | Zip code listed in the destination address. |
Handling Unit Type | Item | Box, Pallet or Crate. |
Item Freight Class | Item | Freight class for the item. |
Item HS Code | Item | HS code for the item. |
Item Height | Item | Height measurement of the item. |
Item Length | Item | Length measurement of the item. |
Item NMFC | Item | NMFC code for the item. |
Item Quantity | Item | Quantity of the line item in the rating request. |
Item Type | Item | Unpacked, parcel, pallet. |
Item Value | Item | Value of the item. |
Item Volume | Item | Calculated volume of the item. |
Item Weight | Item | Weight of the item. |
Item Width | Item | Width measurement of the item. |
Order Source | Order | [DEPRECATED] |
Order Value | Order | Sum of all the item values in the order. |
Origin Address Type | Origin | Residential, commercial or PO Box. |
Origin Address 1 | Origin | Address listed in the origin address. |
Origin Address 2 | Origin | Address listed in the origin address. |
Origin City | Origin | City listed in the origin address. |
Origin Company Name | Origin | Contact company name listed in the origin address. |
Origin Contact Name | Origin | Contact name listed in the origin address. |
Origin Country | Origin | Country listed in the origin address. |
Origin Email | Origin | Email associated with the contact for the origin address. |
Origin State | Origin | State listed in the origin address. |
Origin Zip Code | Origin | Zip code listed in the origin address. |
Package Girth | Shipment | The girth of the package is two times the height of the package, plus two times the width of the packagetimes the width of the package. |
Package Height | Shipment | The height of the package. |
Package Length | Shipment | The length of the package. |
Package Value | Shipment | Sum of all item values in a package. |
Package Weight | Shipment | Sum of all item weights in a package. |
Package Width | Shipment | The width of the package. |
Packed | Shipment | A flag to trigger rules when items are already packed. |
Product Category | Item | A product category. |
Product Subcategory | Item | A product subcategory. |
Prime | Other | The order is an Amazon Prime order. (True/False) |
Rate Source | Order | The source system of the rate request. |
Reference Number | Order | The order reference number. |
SKU | Item | SKU name of the items sent in the rating request. |
Shipment Value | Shipment | Sum of all item values in a shipment. |
Shipment Weight | Shipment | Sum of all item weights in a shipment. |
Tag | Other | The specified tag assigned to an order. |
Unpacked item ID | Item | The unpacked item type id (rarely used). |
Warehouse | Other | The warehouse code. |
...
Rating Rule Action | Type | Description | |||
---|---|---|---|---|---|
Add Insurance for Declared value | Insurance and Accessorials | Adds insurances using the specified value. | |||
Add this accessorial for this Carrier | Insurance and Accessorials | Adds a carrier-specific accessorial. Example: Signature required. | |||
Apply this upfront accessorial for rating | Insurance and Accessorials | Include accessorial for getting rates. | |||
Combine USPS Priority Mail Types | Carrier | Combine USPS Priority Mail types (Priority Mail Express, Priority Mail) | |||
Create Table Rate | Rates | Allows users to create static table rates. | |||
Do Not Use this Carrier | Carrier | Excludes responses from specified carriers. | |||
Do Not Use this Carrier Service | Carrier | Excludes responses from specified carrier service. | |||
Do Not Use this Kind of Carrier | Carrier | Excludes responses from specified carrier type. | |||
Do Not Use this Service | Carrier | Excludes responses from specified service class. Example: Ground. | |||
Fixed Price for all Rates | Rates | Returns a fixed rate for all rate requests. | |||
Fixed Ship Rate for SKU | Rates | Returns a fixed rate for specified SKU. This rule applies a fixed rate per service level per item. Other items in the order will be normally rated and a total rate adding Fixed Rates and Carrier Rates will be returned. You can specify product SKU, Category, or Subcategory. | |||
Free Shipping for Cheapest Rate | Rates | Returns $0 rates for the cheapest available carrier service. | |||
Free Shipping for this Product Category/Subcategory | Rates | Automatically specifies free shipping for selected product categories and subcategories. By usinig product categories and subcategories, rule creation is simplified: you do not have to enter specific SKUs that qualify for free shipping. | |||
Free Shipping for this SKU | Rates | Returns $0 rates for the specified SKUs. | Markdown Rate by this Amount | Rates | Allows marking down each carrier’s rates by a specified amountReturns $0 rates for the specified SKUs. |
Markdown Rate by this Percent | Rates | Allows marking down each carrier's rates by specified percentage. | |||
Markdown Total Rate by this Percent | Rates | Allows marking down of total rate by a specified percentage when multiple carriers are returned for a single shipment. | |||
Markup/markdown Rate by this Amount | Rates | Allows marking up or down each carrier’s rates by a specified amount. | |||
Markup Rate by this Amount per Package | Rates | Allows marking up rate by a specified amount per package. With this rule action, you can automate applying a markup fee or surcharge to cover shipping costs. For instance: markup shipping rates based on estimated labor and material costs for the shipment based on the size of the shipping container. This is useful especially if you are constructing shipping crates or other custom packaging, and therefore need a variable markup based on estimated cost. In the definition, you can specify Packing Material Cost per Sq/Ft Material Surface Area, Packing Labor Time per Sq/Ft Surface Area for Material, and Labor Rate Per Hour. | |||
Markup Rate by this Percent | Rates | Allows markup of each carrier rate by a specified percentage. | |||
Markup Total Rate by this Percent | Rates | Allows marking up of total rate by a specified percentage when multiple carriers are returned for a single shipment. | |||
Mask Carrier and Service | Carrier | Hides carrier name and service with service class. You can either use ShipHawk default service masking, or with the new functionality, you can custom define service level names, carrier mapping, and number of service levels. With custom Mask Carrier and Service, you can display your unique text and map only the specific carrier services based on your preferences. The default Mask Carrier and Service rule action returns the lowest shipping cost based on four predefined service levels, including Standard Ground, Standard Three-Day, Standard Two-Day, and Standard Next Day, that are mapped to all carrier services. Example: Ground. | |||
Prevent User from Booking Shipment | Other | Prevents users from being able to book a shipment. | |||
Return List Rates from Carrier | Rates | Return consumer (“list”) rates (as opposed to negotiated rates) for Basic (Ground International Economy), Preferred (Three-Day, Two-Day, International Priority), and Premium (Next Day). | |||
Return Standard In-Cart Rates for Hazmat Orders | Rates | Returns the standard in-cart rates for orders that include HAZMAT items. | |||
Return This Many of the Cheapest Rates | Rates | Rank all the returned rates from least to most expensive and display only the specified number of the least expensive options to the user. | |||
Return This Many of the Cheapest Rates | Rates | Return a specified number of the cheapest available rates. | |||
Round up rates to the cents | Rates | Automatically round up shipping rates to the nearest dollar or other increment, improving the aesthetics and usability of in-cart rate display. For example, when the Round Up Rates is enabled, a rate of $6.17 or $6.89 will automatically round up to $7.00. Alternatively, you can round to the nearest value, so $6.17 rounds to $6.00 and $6.89 rounds to $7.00. NOTE: when specifying the Value field for Round Up Rates, ShipHawk recommends values of $1.00 (the default) or $0.50. Be aware that if you use a value such as $0.99, $0.99 is added each time, starting from $1.99. For example, if the rate is $7.77, the rule would round up the rate to $7.92round up the rate to $7.92. | |||
Set Maximum Package Value | Other | Set the maximum package value that will be shipped. With this rule action, you can set the maximum package value so that you can limit the value of each package in a shipment. | |||
Set Maximum Package Value | Other | Set the maximum package value that will be shipped.Weight for Multi-Item Packages | Other | With this rule action, you can set the maximum package weight so that you can limit the weight of each package in a shipment. When enabled, ShipHawk will limit the total weight of any package with shipping multiple items to the value set in the rule. Single items that are heavier than the threshold will be shipped individually. This can prevent fees and chargebacks from carriers and clients that have weight thresholds for packages. | |
Use Cheapest Service that meets Delivery promise (in Days) | Carrier | Select this action to return the following in the shopping cart:
Note that Ground rates do not include Flat rate services such as FedEx OneRate. | |||
Use closest Warehouse for rating | Other | Limits response to closest warehouse. | |||
Use one of these Carrier Services | Carrier | Limits response to one or more specified carrier services. | Use one of these Carrier Services | Carrier | Limits response to specified carrier services. |
Use one of these Carriers or 3PL accounts | Carrier | Limits response to the specified carrier or 3PL account. | |||
Use one of these Kinds of Carrier | Carrier | Limits response to one or more of the specified carrier types: LTL, Parcel, and so on. | |||
Use one of these Services | Carrier | Limits response to one or more specified carrier service classes. Example: Ground. | |||
Use one of these Services | Carrier | Limits response to specified carrier service class(es). Example: Ground. | Use these Kinds of Carrier | Carrier | Limits response to the specified carrier type: LTL, Parcel, and so on. |
Use this Carrier Service | Carrier | Limits response to specified carrier service. | |||
Use this Packing Material | Other | Uses a specified packing material. | |||
Use this Warehouse for rating | Other | Uses specified warehouse as origin address for carrier rating. |
...
Shipping Policy Action | Type | Description |
---|---|---|
Add Insurance for Declared Value | Insurance and Accessorials | Adds insurances using the specified value. |
Add tags | Other | Adds tags to the order. |
Add this Accessorial | Insurance and Accessorials | Adds a specified accessorial to an order. |
Add this Accessorial for this Carrier | Insurance and Accesssorials | Adds a carrier-specific accessorial. Example: Signature required. |
Assign this Warehouse to Order Line item | Other | Assigns a warehouse to fulfill certain order line items. |
Assign this Warehouse to Process Orders | Other | Assigns a particular warehouse to fulfill an entire order. |
Do Not Autogenerate SPS ASN | Other | Specify to not automatically generate ASNs for SPS Commerce. |
Do not autoprint these documents | Other | Conditional document autoprint. |
Do Not Import This Order | Other | Excludes orders from synchronizing to ShipHawk. Example: drop-ship orders. |
Do Not Use this Carrier | Carrier | Excludes responses from specified carrier. |
Do Not Use this Carrier Service | Carrier | Excludes responses from specified carrier services. |
Do Not Use this Service | Carrier | Excludes responses from specified service class. Example: Ground. |
Exclude this SKU from Order | Other | Excludes specified SKUs from orders. |
Include a Return Label | Other | Includes a return label in specified orders. |
Prevent User from Booking Shipment | Other | Prevents users from being able to book a shipment. When a shipping policy with this action is active, when users try to book the shipment, the following error message is displayed: “An active shipping policy restricts the booking of this shipment. Contact your ShipHawk administrator or check your shipping policies.” This shipping policy is not applied before or during proposed shipment generation (as with most shipping policies); rather, this is applied only during the time of proposed shipment booking. This action is useful if you need a mechanism to hold or restrict the fulfillment of orders until the orders are approved (by a Financial Controller, for example). |
Put this SKUs into new Order | Other | Separates specified SKUs into a new order. |
Set Destination Address Type | Other | Sets a destination address type for specified orders. |
Set Dimensions and Weight | Other | Set the dimensions and weight for a specified order. |
Set Maximum Package Value | Other | Set the maximum package value that will be shipped. |
Set a 3rd Party Carrier Account | Carrier | Use a 3rd party carrier account for this order. |
Set duties and taxes billing | Rates | Specify duties and taxes billing for a given order. The billed party can be set to either Senderor Recipient (collect). When a rule is applied to an order, it overrides the account-level setting. |
Set shipment billing details | Rates | Set shipment billing details for Small Parcel or LTL, and for Sender, or Recipient, or Third Party, or Consignee Collect. Enter Lookup Address, Zip Code, and Country. |
Use Alternate Return Address | Other | Lists an alternate return address (not the origin address) for specified orders. |
Use Carrier Container | Carrier | Use a carrier branded packing material for this order. |
Use Cheapest Service that meets Delivery promise (in Days) | Carrier | Limits response to carrier services that will deliver in a specified number of days or less. |
Use EEI Exemption Code | Other | Use a specified EEI exemption code for this order. |
Use Material Container | Other | Use a specific material container for this order. |
Use one of these Carrier Services | Carrier | Use one of the specified carrier services. |
Use one of these Carriers or 3PL accounts | Carrier | Use one of the specified carriers or 3PL providers. |
Use one of these Kinds of Carrier | Carrier | Use one of the specified kinds of carrier. |
Use Package Preset | Other | Applies an existing package preset to specified orders. |
Use Specific Packing Slip | Other | Selects the specified packing slip for a proposed shipment. |
Use Specific Packing Slip only for Proposed Shipment | Other | Assigns a specific packing slip template to proposed shipments that fulfill the criteria. |
Use the Best Ground Rate, excluding Flat Rate Services | Rates | Do not use: will be deprecated. (Uses the cheapest ground rate available from all carriers. Ignores flat rate services.) |
Use one of these Services | Carrier | Use one of the specified services. |
Use this Carrier | Carrier | Limits response to specified carrier. |
Use this Carrier or 3PL account | Carrier | Limits response to the specified carrier or 3PL account. |
Use this Carrier Service | Carrier | Limits response to specified carrier service. |
Use this Carton Label | Other | Select the specified carton label for a proposed shipment. |
Use this Kind of Carrier | Carrier | Limits response to the specified carrier type: LTL, Parcel, and so on. Filters out rate responses from carriers that do not match Carrier Kind/Type. NOTE: If no rates are available from this “Kind of Carrier”, ShipHawk will generate a generic shipment. It will not force a pallet item to ship Small Parcel. |
Use this Packing Material | Other | Uses a specified packing material for orders. |
Use this Pallet Label | Other | Select the specified pallet label for a proposed shipment. |
Use this Service | Carrier | Limits response to specified carrier service class. Example: Ground. |
...