Create Draft Order for Specific Location in Multiple Locations using API

apigordyn
New Member
2 0 0

Hi!

Is it possible to create a Draft Order in a particular pre-selected Location when working with Multiple Locations, using Shopify API? 

I did see that it is possible to do it with Shopify API, using DraftOrder: https://help.shopify.com/en/api/reference/orders/draftorder

But nothing is said about Multiple Locations.

Appreciate your help!

0 Likes
Josh
Shopify Staff
Shopify Staff
1130 82 191

Hey there, 

 

I'm not aware of any way to do this via the API, or the Shopify admin. After doing some testing it appears to use the 'Fulfillment Priority' from a shop's location settings in order to decide the default location that is used when the draft order is converted to a real order.

 

With that being said though, the location attached to the order can be changed after it has been created.

0 Likes
apigordyn
New Member
2 0 0
Hi Josh!
Thank you for your answer.
Actually, what I am trying to do is to integrate another e-commerce system
with Shopify.
We are currently working with Multiple Locations and also selling products
on another online plataform (sort of an argentinian ebay). This is the only
system that it is not currently integrated with Shopify. In order to do so,
I want to create a new Location and create a draft order via API for every
order that we receive in this other online platform. But these draft orders
should be created at this new Location. That is what I am trying to find
out, if that is even possible!
0 Likes
Josh
Shopify Staff
Shopify Staff
1130 82 191

Hello again! 

 

Really sorry for the slow response. 

 

So technically this would be possible if you chose the location you want your new draft orders to be placed at as #1 in your fulfillment priority list in your admin. The problem with this would just be that if you decide to automatically fulfill orders in your shop too, it will use that same location to fulfill from which may not be what you want in some cases. 

 

At any rate, I'll make sure I pass this request along to our draft orders team so they can consider adding defining locations as a feature in the future.

0 Likes
ClearChoiceAqua
Explorer
41 0 26

Just opened a second location and am now realizing that all draft orders are filling from the first location so my inventory is all screwed up.  Has anything come of this?  If shopify is going to have support for multiple locations I would assume that the orders can be filled from either location.  Until this is figured out i'm going to have to either do manual transfers or adjust the inventory manually.    

Josh
Shopify Staff
Shopify Staff
1130 82 191

Hello there, 

 

Nothing has been changed in this area yet that I am aware of - however, after a draft order is converted into an order, the location of the order can be changed with this drop-down at the top-right corner. Other location IDs can also be submitted when fulfilling the order via the API, which will then reduce inventory at the appropriate location.

 

2019-10-jvlc6-zhqkk

 

0 Likes
Nomadica
Tourist
6 0 14

We could really use this option. It causes a lot of problems for us. Our scenario is we use draft orders for some of our Wholesale customers. So our online retail customers place an order and it automatically get sent to our warehouse to fulfill, all good everything works as expected. But our wholesale orders often fulfill from a different location, and I often create a draft first, they then pay at their leisure. If I don't catch it right away our retail warehouse will start to fulfill it. One of the reasons I need it to go through a different wrehouse is the wholesale order are often quite large so we palletize them to get better shipping.

TaylorLB
New Member
1 0 0

Is this still the only option- we would prefer to do location specific draft orders

0 Likes
ft-usa
New Member
1 0 1

Same here. Also, when making a draft order it shows inventory available among all locations which is really deceiving for our sales team. If default to a location but have the ability to change location in the draft order and have the order reference available inventory at that location, it would be extremely helpful. 

ateeq
New Member
3 0 0

+1 for this - 2/3 of our draft orders created via API aren't fulfilled from the default /primary location and it is very frustrating when you forget to change the location before marking it as fulfilled.

0 Likes