I am having an issue trying to target orders with there relevant location_id I am constantly getting the default location not the location I have specified within the code I am sending an order record and then the inventory update using inventory behaviour bypass has anyone experienced this? I have tried to a couple of applications Matrixify being one unfortunately there is no way to target the location you would like to import an order. So I created a custom application and have attached the code here for you reference, The end goal is just being able to import an order against the correct location within Shopify, I have tried order routing as well but doesn’t pick up on the imported data. Front end order is fine eg adjusting shipping locations. But we need the ability to import in bulk against multiple locations.
I believe that whole order location_id attribute cannot be set, which would also explain why it was also ignored in your case.
As for the Matrixify app - at the moment with our app you can import location for the actual fulfillment, but we do not have a feature to import or export location set in the FulfillmentOrder which is the location for unfulfilled line items.
Yeah I did try this as well and I had a failure to update fulfilment, it may just be the sequence I am trying to push via the API orders then inventory and after that point it was fulfilment I will adjust the sequence and hopefully this will resolve the problem I will come back on this post and confirm when/if I have managed to resolve this one.
Which is great and I will definitely be using this functionality to update tracking and fulfilment lines. (hopefully this will be in your roadmap for the future as I can see a need for this with multiple feeds and companies needing order imports for large wholesale orders for example)
I found a way around this via the shipping settings as long as they are split per country Shopify uses the logic to them fulfil from that location i tried a few different ways via the API but did not get the end result I needed even with fulfillmentorder adjustments. Only issue with this is say you wanted to import an order going to DE example from GB you can’t actually do it other that changing the location manually afterwards. But go there in the end so have a semi-resolution here.