As a merchant that has multiple locations, an order may be created in one location (i.e: website) but fulfilled from multiple physical locations.
This means that when creating a fulfillment, each item needs to be assigned to each location. This is doable in the old FulfillmentCreate mutation.
However, in FulfillmentCreateV2, there is no locationId parameter, and the location has to be inherited from the order location. This does not satisfy any business that has multiple locations fulfilling orders’ needs and is clearly a short-sighted move. Functionality for adding a locationId in FulfillmentCreateV2 must be added otherwise Shopify is officially dropping support for multi-location fulfillments, which is not reasonable given that new releases should add functionalities, not take them away.
As I understand the current system, the items are fulfilled based on the fulfillment priority, each fulfillment order is a set of line_items to be fulfilled by a specific location. So if you have multiple line items being fulfilled from multiple locations then shopify will create multiple fulfillmentorders grouping the items together in each order that will be fulfilled from a specific location. So actually there is no need for the locationid since a fulfillmentorder is “bound” to a specific location, and providing the locationid would therefore be redundant.
You can specify multiple fulfillmentorders in a single fulfillment according to the documentation. So yes technically you can fulfill fulfillment line items from more than one fulfillment order which exists at more than one location. So long as you associate the right line items to the right fulifllment order id I dont see why you couldnt.
Hi @garyrgilbert
shopify location and fulfillment location changed if stock not available then how you can change this location
I see the behavior of fulfillmentcreatev2 - where multiple tracking numbers allowed but location change not there, how we can send both if I want to change fulfillment location
Suppose from A location order created in shopify
and we are changing location to B because of stock issue in A
I am able to it using REST but multiple tracking not working in REST