> Beta: > Location rules is a new feature that's only available by request. Reach out to [Shopify Plus Support](https://help.shopify.com/en/support/plus) to know more about your eligibility and the requirements for the beta program. 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 - 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. > Plus: > Only custom apps installed on stores on the [Shopify Plus plan](https://help.shopify.com/manual/intro-to-shopify/pricing-plans/plans-features/shopify-plus-plan) can use the Order Routing Location Rule API. Merchants must be enrolled in the Partners programme to deploy their own custom apps and location rules. ## Developer tools and resources <div class="resource-card-grid"> <div> <a class="resource-card" href="/docs/apps/build/cli-for-apps" data-theme-mode=""> <div class="resource-card__indicator-container"><img src="/assets/resource-cards/cli" data-alt-src="/assets/resource-cards/cli-dark" aria-hidden="true" class="resource-card__icon themed-image"></div> <h3 class="resource-card__title"> Shopify CLI </h3> <p class="resource-card__description">A command-line tool for building Shopify apps.</p> </a> </div></p> <p><div> <a class="resource-card" href="/docs/api/functions/reference/order-routing-location-rule/graphql" data-theme-mode=""> <div class="resource-card__indicator-container"><img src="/assets/resource-cards/graphql" data-alt-src="/assets/resource-cards/graphql-dark" aria-hidden="true" class="resource-card__icon themed-image"></div> <h3 class="resource-card__title"> Order Routing Location Rule API reference </h3> <p class="resource-card__description">Consult the GraphQL reference for the Order Routing Location Rule API.</p> </a> </div> </div> ## Next steps - Learn how to use Shopify Functions by [building order routing location rules](/docs/apps/build/orders-fulfillment/order-routing-apps/location-rules).