Assign Cheapest Shipping Service
Last updated
Last updated
The "Assign Cheapest Shipping Service" is a macro that runs as an action of the Rules Engine. It is designed to automate assigning the lowest-cost shipping service to orders within the Linnworks platform. By leveraging shipping quote APIs and order attributes, this macro identifies and assigns the cheapest available shipping option to eligible orders, optimizing shipping costs and order fulfilment processes.
This guide provides a step-by-step explanation of how to install and set up the macro in Linnworks.
There are three steps you need to complete to start using the macro:
Install the application.
Go to Apps > Application Store > Lowest Shipping Assign > click Install and follow the on-screen instructions until the installation is complete.
Configure the macro.
Configure the rule in the Rules Engine screen.
Once the Add Lowest Shipping Assign app is installed:
Go to Apps > Macro Configuration and click + Add new configuration.
Select the Lowest Shipping Assign macro and click Create Configuration.
In the Macro Configuration screen, specify the below details and click Save:
Make sure to enable the macro to continue with the Rules Engine configuration.
Functionality:
Shipping Service Assignment:
Utilizes the Linnworks API to retrieve shipping integrations and obtain live quotes from shipping service providers.
Identifies the lowest-cost shipping service among the available options.
Order Criteria Evaluation:
Considers order attributes such as vendor and total weight to determine eligibility for shipping service assignment.
Integration with Shipping APIs:
Communicate with external shipping service APIs to fetch quotes and set shipping methods based on the obtained data.
Usage:
Input Parameters:
OrderIds
: Array of order IDs to process.
Execution:
Call the macro with the desired order IDs to initiate the lowest-cost shipping assignment process.
Outcome:
The macro iterates through the specified orders evaluates their eligibility based on criteria and assigns the lowest-cost shipping service where applicable.