Nov 18 2020
 OMSFaire

Faire Custom Shipping Settings

Last Updated: Jan 25, 2022

This document outlines the custom shipping settings for the Faire integration with InfiPlex Inventory & Order Management System (OMS).

InfiPlex Faire Custom Shipping Set-up

The Faire shipping total is calculated from the actual label cost or order total depending on the options chosen below. To use the actual label cost, set faire_send_custom_shipping_costs to "No". If you set faire_send_custom_shipping_costs to "Yes", the other custom settings will be used to calculate the Faire lable cost based on the order total or the label cost as outlined below.

To calculate the Faire shipping cost based on the order total, use the faire_custom_shipping_costs_percentage and faire_custom_shipping_costs_minimum settings and leave the faire_custom_shipping_costs_advanced_rules blank.

To calculate the Faire shipping cost based on the label cost, use the faire_custom_shipping_costs_advanced_rules setting and leave the faire_custom_shipping_costs_percentage and faire_custom_shipping_costs_minimum settings blank. The advanced rules allow you to set a range of label cost multipliers based on the actual label cost. See the example below.

You can access your Faire settings by going to the Settings > Integrations > Faire page. Click the Faire icon or select Faire in the Integrations drop-down menu.

  • faire_send_custom_shipping_costs:
    This setting must be set to "Yes" in order for any of the custom settings below to work. If this is set to "No", then InfiPlex will send the actual label cost plus the faire_shipping_handling_fee if set.
  • faire_custom_shipping_costs_percentage:
    This is the percentage of the order item totals in the package used to calculate the shipping costs sent to Faire.
    Use whole numbers for the percentage, so for 10% use 10, not 0.10.
    If this value is 15, then 15% of the package item value will be sent to Faire for the shipping costs.
  • faire_custom_shipping_costs_minimum:
    If the calculated percentage above is below this value, then this value will be sent to Faire for the shipping costs instead of the calculated percentage.
  • faire_shipping_handling_fee:
    If this is set, this value will get added to shipping costs sent to Faire. Note this value will get added after the percentage and minimum costs settings above are calculated or the advanced rules below.
  • faire_custom_shipping_costs_advanced_rules:
    This is a set of custom rules for pushing shipping costs to Faire based on the label cost for a package. If set, these rules will take priority over the other custom rules above. The rules allow you to set a range of multipliers based on the label cost of the package. In the example below, 3 different multipliers are used to determine the final shipping cost sent to Faire. The multiplier is based on the label cost received. The last multiplier uses a very large label_max value to ensure that all possible package label costs are covered in the rules. The multiplier 1.3 is a 30% mark-up of the label cost. Be sure to use 1.x as your multiplier, otherwise you will be sending a value less than the actual cost of the label.
     
    {
      "rules": [
        {
          "rule_type": "label_cost_multiplier",
          "label_min": 0,
          "label_max": 9.99,
          "multiplier": 1.3
        },
    	{
          "rule_type": "label_cost_multiplier",
          "label_min": 10,
          "label_max": 19.99,
          "multiplier": 1.2
        },
        {
          "rule_type": "label_cost_multiplier",
          "label_min": 20,
          "label_max": 10000,
          "multiplier": 1.1
        }
      ]
    }
    		


    You can copy and paste the rules above into your settings, make adjustments to the setting values and then save the Faire settings.

    Important: after any change to your rules, always confirm that your label costs are being sent correctly to Faire. If not, you need to review your rules to make sure you have not forgotten any bracekets or commas that could cause the rules to not work. Open a support ticket if you have any additional questions.