# fulfillmentOrdersReroute - admin - MUTATION Version: unstable ## Description Route the fulfillment orders to an alternative location, according to the shop's order routing settings. This involves: * Finding an alternate location that can fulfill the fulfillment orders. * Assigning the fulfillment orders to the new location. ### Access Scopes `write_assigned_fulfillment_orders` access scope, `write_merchant_managed_fulfillment_orders` access scope or `write_third_party_fulfillment_orders` access scope. Also: The user must have the fulfill_and_ship_orders permission or the calling API client must be Shopify POS. ## Arguments * [excludedLocationIds](/docs/api/admin/unstable/scalars/ID): ID - The list of IDs of the locations to exclude for rerouting. Excluded locations specified here take precedence over included locations provided through included_location_ids. * [fulfillmentOrderIds](/docs/api/admin/unstable/scalars/ID): ID! - The list of IDs of the fulfillment orders. * [includedLocationIds](/docs/api/admin/unstable/scalars/ID): ID - The list of IDs of the locations to include for rerouting. By default, all locations are included. ## Returns * [movedFulfillmentOrders](/docs/api/admin/unstable/objects/FulfillmentOrder): FulfillmentOrder The fulfillment orders which contains the moved line items. * [userErrors](/docs/api/admin/unstable/objects/FulfillmentOrdersRerouteUserError): FulfillmentOrdersRerouteUserError! The list of errors that occurred from executing the mutation. ## Examples