How to fulfill order depending upon customer location?

Shopify Partner
30 0 3
  1. I have two locations now for my fulfillment. One in UK and the other in Europe. In shopify they are set up as locations
  2. All products exist in both locations
  3. When a customer orders in the UK I want to fulfill the order from the UK -based inventory
  4. When customer orders in Europe I want to route to the Europe-based inventory
  5. I want this to be done automatically
  6. I may have the need to override step 3 and 4 at some point and divert the inventory. for example, a UK out of Europe or Europe orders out of UK.

    I've checked this thread but this only includes information about a certain app.
    I don't want to use any app.

    Is there any way to build a custom app for the scenario?

    I was planning to build an app which on each order creation updates it's fulfillment location automatically, by using FulfillmentOrder endpoint, but that's probably not a good solution because e.g. If a customer places an order from UK and his order gets fulfilled from US inventory (and UK inventory is empty) then there won't be any point in changing the fulfillment location later. 
Reply 1 (1)

Shopify Partner
18 0 1

Hey @afifaakhtar, not sure if you've found a solution but I'd like to share my perspective.


You mentioned that you do not want to use any app and that you'd prefer to build an app. I understand this reply comes 2 years late but I hope you were able to build an app with the functionality that you mentioned.


It isn't an easy feat building an app that would route your orders according to such conditions, and if you increase the number of fulfillment centers it gets even more complicated. On top of order routing, how are you handling inventory syncing or sending your tracking information back to your customer at this point?


If you are still in limbo trying to resolve this issue 2 years later, maybe consider using an app like Duoplane. It'll solve your problem, and provide you with even more functions such as inventory syncing, shipping feed automation, analytics, accounting integrations, and more. It is a multi-vendor dropshipping automation app that will automate a huge part of your business. Best of all, the customer support is excellent, and you can get a free trial before making any commitment. Do your research to see what best suits your needs. Don't just take my word for it - check out Duoplane on the Shopify app store and read the reviews.