The shipment rules in Scurri automatically assign consignments to the appropriate carrier and service based on criteria specified by you.
The powerful rules engine is versatile and flexible. You can configure it to be as simple or as complicated as you need.
Adding a new rule
The rules are located in the Setup section on your dashboard, under Automation.
To create a new rule, click the green box titled Add a rule in the top right of this page.
You will now see the Rule configuration page. Here you will set:
- The name for the rule, we recommend using something specific such as “Domestic Under 2kg”,
- The conditions for the rule, such as consignments under 2kg to within the UK,
- You can use any number of conditions in your rules and you can use single or multiple values here as well, such as a list of postcodes, or SKUs of certain items that have special requirements for shipping.
- When selecting a carrier and service, you must set the relevant enhancements in the rule as well.
- When selecting the warehouse, there is an option titled “automatically select warehouse. If this is selected, the default warehouse will be used.
- If creating consignments via API, and the option selected in the rule is “Automatically select warehouse”, the warehouse specified in the API call will be used.
Once you are happy with the rule click Save Rule at the bottom to create it on your account.
There are detailed explanations of each condition and the operators within them below.
The order in which you place your rules in the list can be very useful and important as part of your overall rule setup.
The rules run in order from top to bottom in the list and the first rule that a consignment matches is applied. This means if you have some specific rules such as items that have special requirements for shipping, they go towards the top of the list, and the more generic or catch-all rules go lower in the list.
A rule that is not active will never apply to a consignment.
You can deactivate rules if you do not want to use it for a period of time, or if you occasionally do a promotion for free priority shipping for all orders for example.
To deactivate a rule from the list simply click the button titled Deactivate.
To deactivate a rule while editing/creating it, simply untick the box titled Active and then click Save.
The rule conditions currently available are:
- Order value - Total value of the consignment
- Order item count - total number of items in the consignment
- Order number - The order number itself (can be used to separate orders from different marketplaces like eBay and Amazon)
- Shipment width (centimetres) - the total width of the consignment
- Shipment height (centimetres) - the total height of the consignment
- Shipment weight (kilograms) - the total weight of the consignment
- Shipment length (centimetres) - the total length of the consignment
- Shipment import day - the day the consignment is imported on
- Shipment import time (24-hour) - the time the consignment is imported at
- Shipment package type - the package type specified on the consignment when imported (Not the package type set by the rule)
- Recipient name - combines first and last name fields so if the recipient name is John Smith, this would be the full value in the rule.
- Recipient email - email address of the recipient on the consignment
- Recipient phone - phone number of the recipient on the consignment
- Ship to Address line 1
- Ship to Address line 2
- Ship to Address line 3
- Ship to City
- Ship to State - Also county/region
- Ship to ZIP/Postcode
- Ship to Country - You can use full names or 2-letter ISO codes for this
- Package Item SKU - each item in the consignment can have an SKU, - the total width of the consignment
- Package Count - total number of packages in the consignment
- Package weight (kilograms) - total weight of individual packages
- Item name - each item in the consignment has an individual name, this picks up if any have the value specified.
- Shipping Method - Usually the shipping method selected by the end consumer at checkout. Via the API can be used as a custom field.
- Custom Field 1 & Custom Field 2 - can be mapped to other required fields outside of the above.
Note It is important for conditions using measurements (weight, length, etc) That you only input the numerical figure in the value section. Do not input the units of measurement here.
i.e. the value should be <3>, not <3kg>. If you input <3kg> this will cause the rule to error and it will not apply when it should.
The operators are the part of the conditions which tell it what format to look for the value in.
Numeric checks against rule values
In the case where numeric values are used in a rule (such as dimensions or value), the following checks can be used
- equals to
- lower than
- greater than
- is not equal to
- lower than or equal to
- greater than or equal to
If you want to use a list of potential values in a rule, for example, a list of countries or certain items that have special shipping requirements you can use “is in” to group them all into one rule.
e.g “Ship to Country” “is in” “Germany, Spain, France” (You can also use “DE, ES, FR” here)
“is not in” can be used in the same way for opposing rules.
To match an exact value, use ”equals to”
e.g “Order Shipment Method” “equals to” “Scurri Next Day Delivery”
“is not equal to” can be used in the same way for opposing rules.
To match to a partial value, use “contains”.
e.g "Order Shipment Method" “contains” “Free”
In this case, all order shipment methods with the word “Free” in them will trigger this rule.
“Item name” “contains” “gloves”
Any consignment containing an item with “gloves” in the item name will trigger the rule.
“does not contain” can be used in the same way for opposing rules.
Wildcards / Grouping Values
You can use an asterisk to group together values which have common values such as starts with / ends with / contains. To do this add an asterisk to the value in the rule.
Postcode starts with BT (For Northern Ireland)
This would look like:
“Ship to ZIP/Postcode” “is in” “BT*”
SKU ends with “6000”:
“Package Item SKU” “is in” “*6000”
SKU has “GLA” in it:
“Package Item SKU” “contains” “*GLA*”
Commonly used lists:
We have included below some commonly used lists of areas and countries names and their corresponding 2-letter ISO codes for your reference and use in rules.
Ireland, Germany, France, Netherlands, Austria, Belgium, Cyprus, Czech Republic, Denmark, Estonia, Finland, Greece, Hungary, Italy, Latvia, Lithuania, Luxembourg, Malta, Poland, Portugal, Romania, Slovenia, Spain, Sweden
IE, DE, FR, NL, AT, BE, CY, CZ, DK, EE, FI, GR, HU, IT, LV, LT, LU, MT, PL, PT, RO, SI, ES, SE
Rest of World:
Afghanistan, Albania, Algeria, American Samoa, Andorra, Angola, Anguilla, Antigua and Barbuda, Argentina, Aruba, Australia, Bahamas, Bahrain, Banglades, Barbados, Belize, Benin, Bermuda, Bhutan, Bolivia, Botswana, Bouvet Island, Brazil, British Indian O. Terr., British Virgin Islands, Brunei Darussalam, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Cayman Islands, Central African Rep., Chad, Chile, China, Christmas Island, Cocos Keeling Islands, Colombia, Comoros, Congo, Cook Islands, Costa Rica, Croatia, Cuba, Djibouti, Dominica, Dominican Republic, East Timor, Ecuador, Egypt, El Salvador, Ethiopia, Falkland Isl., Faroe Islands, Fiji, French Guiana, French Southern Terr., Gabon, Gambia, Ghana, Gibraltar, Greenland, Grenada, Guadeloupe, Guam, Guatemala, Guinea, Guinea Bissau, Guyana, Haiti, Heard and McDonald Isl., Honduras, Hong Kong, Iceland, India, Indonesia, Iran, Iraq, Israel, Ivory Coast, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Kosovo, Kuwait, Laos, Lebanon, Liberia, Libya, Liechtenstein, Macau, Madagascar, Malawi, Malaysia, Maldives, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Namibia, Naura, Nepal, Netherland Antilles, New Zealand, Nicaragua, Niger, Nigeria, Niue, Norfolk Island, North Korea, Norway, Oman, Pakistan, Palau, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Pitcairn, Puerto Rico, Qatar, Reunion, Russian Federation, Saint Lucia, Saint Pierre and Miquelon, San Marino, Saudi Arabia, Senegal, Seychelles, Sierra Leone, Singapore, Slovakia, Solomon Islands, Somalia, South Africa, South Korea, Sri Lanka, St. Helen, St. Tome and Principe, St. Kitts Nevis Anguilla, St. Vincent and Grenadines, Sudan, Suriname, Svalbard and Jan Mayen Isl., Swaziland, Switzerland, Syria, Taiwan, Tanzania, Thailand, Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turks and Caicos Islands, Tuvalu, Uganda, Ukraine, United Arab Emirates, United States, Uruguay, US Minor outlying Isl., US Virgin Islands, Vanuatu, Vietnam, Western Sahara, Western Samoa, Yugoslavia, Zambia, Zimbabwe,
AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AZ, BS, BH, BD, BB, BY, BZ, BJ, BM, BT, BO, BQ, BA, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CW, DJ, DM, DO, EC, EG, SV, GQ, ER, ET, FK, FO, FJ, GF, PF, TF, GA, GM, GE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, IS, IN, ID, IR, IQ, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LB, LS, LR, LY, LI, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PR, QA, RE, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SB, SO, ZA, GS, SS, LK, SD, SR, SJ, SZ, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, US, UM, UY, UZ, VU, VN, VG, VI, WF, EH, YE, ZM, ZW,
Scottish Highlands & Islands postcodes
HS1*, HS2*, HS3*, HS4*, HS5*, HS6*, HS7*, HS8*, HS9*, IV1*, IV2*, IV3*, IV10*, IV11*, IV12*, IV13*, IV14*, IV15*, IV16*, IV17*, IV18*, IV19*, IV20*, IV21*, IV22*, IV23*, IV24*, IV25*, IV26*, IV27*, IV28*, IV29*, IV30*, IV31*, IV32*, IV36*, IV40*, IV41*, IV42*, IV43*, IV44*, IV45*, IV46*, IV47*, IV48*, IV49*, IV50*, IV51*, IV52*, IV53*, IV54*, IV55*, IV56*, KA27*, KA28*, KW1*, KW2*, KW3*, KW5*, KW6*, KW7*, KW8*, KW9*, KW10*, KW11*, KW12*, KW13*, KW14*, KW15*, KW16*, KW17*, PA20*, PA21*, PA22*, PA23*, PA24*, PA25*, PA26*, PA27*, PA28*, PA29*, PA30*, PA31*, PA32*, PA33*, PA34*, PA35*, PA36*, PA37*, PA38*, PA39*, PA40*, PA41*, PA42*, PA43*, PA44*, PA45*, PA46*, PA47*, PA48*, PA49*, PA60*, PA61*, PA62*, PA63*, PA64*, PA65*, PA66*, PA67*, PA68*, PA69*, PA70*, PA71*, PA72*, PA73*, PA74*, PA75*, PA76*, PA77*, PA78*, PH17*, PH18*, PH19*, PH20*, PH21*, PH22*, PH23*, PH24*, PH25*, PH26*, PH30*, PH31*, PH32*, PH33*, PH34*, PH35*, PH36*, PH37*, PH38*, PH39*, PH40*, PH41*, PH42*, PH43*, PH44*, PH49*, PH50*, ZE1*, ZE2*, ZE3*