You can use autolaunched flows to route orders to fulfillment locations. Order Management
includes some flow core actions that you can use to implement configurable routing rules. These
actions work together by first identifying locations that can fulfill an order and then
determining which locations are closest to the recipient. You can also access this functionality
using the Connect API.
The Find Routes with Fewest Splits action evaluates an order’s product quantities against
available inventory to determine the smallest set of locations that can combine to fulfill
the order. The action executes up to 1,000,000 times, or until finding 10,000 location
combinations that meet the allocation criteria.
To use this action, provide this information.
List of ordered product quantities
List of available product quantities at individual locations
Optionally, the maximum number of splits
The action compares the ordered quantities to the available quantities to determine potential
fulfillment options. It starts by looking for single locations with sufficient inventory to
fulfill the entire list of ordered products. If it finds any, it returns them in a list. If it
doesn't find any, it looks for pairs of locations whose combined inventory can fulfill the
order. If it finds any pairs, it returns a list of them. If it doesn't find any, it looks for
sets of three locations, and so on.
If you specify the maximum number of splits, the maximum number of locations in a single
combination is one more than the split number. For example, if you specify a maximum of two
splits, the action looks for single locations, pairs of locations, and trios of locations that
can fulfill the order.
Closest Proximity Routing Rule
The Order Routing Rank by Average Distance action evaluates sets of locations to determine
which set has the shortest average delivery distance based on the recipient’s postal code. When
calculating distances, this rule uses a location’s Visitor Address field as the address.
To use this action, provide this information.
Recipient's country code and postal code
List of fulfillment location sets
Optionally, a distance unit and sort order for the results
For each set of locations, the action calculates the straight-line distance from each location
to the recipient's postal code, then calculates their average. It then returns the location
sets, sorted by their average distance to the recipient.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.