--- title: Rerouting Fulfillment Orders is now possible via API - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/rerouting-fulfillment-orders-via-api md: https://shopify.dev/changelog/rerouting-fulfillment-orders-via-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) October 1, 2025 Tags: * Admin GraphQL API * 2025-10 # Rerouting Fulfillment Orders is now possible via API We have introduced the `fulfillmentOrdersReroute` mutation to the Admin GraphQL API. This mutation allows you to move fulfillment orders to the next best location based on the shop’s delivery strategies. This update ensures that both the API and Admin offer the same capabilities, enhancing consistency and flexibility for developers. With this mutation, you can optionally specify locations to exclude from the reroute. Alternatively, you can define a set of locations to consider for changing the fulfillment orders’ location. ```graphql mutation { fulfillmentOrdersReroute( fulfillmentOrderIds: ["gid://shopify/FulfillmentOrder/12345678"], excludedLocationIds: ["gid://shopify/Location/456789"] ) { movedFulfillmentOrders { # FulfillmentOrder fields } userErrors { field message } } } ``` For further details on working with the new mutation, please refer to our [documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmentOrdersReroute).