Order Routing Location Rule Function API overview
Order routing is the process of determining the location used to fulfill each cart line item. The Order Routing Location Rule API allows developers to provide their own ranking of location, for each item, during order routing.
Example use cases
Anchor link to section titled "Example use cases"- Fulfill orders from the closest location within the shop's market matching the delivery address country.
- Prioritize a group of locations, such as warehouses or retail stores.
- Rank the locations relative to each other.
- Deprioritize a location if the maximum order for each day has been reached.
Developer tools and resources
Anchor link to section titled "Developer tools and resources"Limitations and considerations
Anchor link to section titled "Limitations and considerations"All plans: Stores on any plan can use public apps that are distributed through the Shopify App Store and contain Shopify Functions.
Shopify Plus: Only stores on a Shopify Plus plan can use custom apps that contain Shopify Function APIs.
- Learn how to use Shopify Functions by building order routing location rules.