Multi Location Shipping and origin_location

Solved
Highlighted
Shopify Partner
15 0 5

I recently updated to using Multi Origin Shipping Locations.

 

https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/convert-to-shippin...

 

Basically it let's you setup shipping profiles for each of your Inventory Locations.

 

I was under the impression that doing this would now identify the origin_location for the order as being the same as the location the inventory was pulled from and in turn the location the item is shipping from, but this doesn't appear to be the case.

 

When I run an online web order the origin_location is just set to my default shipping location regardless of which location it was shipped from.

 

This is super annoying. Shopify! Why have you forsaken me?

 

Here is what I am seeing. This is under the Line Item object

 

Screen Shot 2019-11-21 at 4.19.23 PM.png

 

This is our default shipping location. Not the shipping location that is associated with the Inventory Location for this order.

 

Is this just an oversight on Shopify's part or is this how it's supposed to work?

 

 

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

This is an accepted solution.

Hey @Daelan_Wood,

 

I sought some clarity on this. origin_location isn't where the order is fulfilled from, but rather where it was placed. For example a store / POS address.

 

To get the information you're after, you can use the new Fulfillment Orders API: https://help.shopify.com/en/api/reference/shipping-and-fulfillment/unstable/fulfillmentorder

0 Likes
Highlighted
Shopify Partner
15 0 5

This looks like it might do the trick. I've been trying to figure out a way to do this forever so this new endpoint is very helpful.

 

Thanks for looking into this for me. I really appreciate it.

0 Likes
Highlighted
Shopify Partner
15 0 5

@scottydont Any thoughts on why I would be getting the following error in Postman with this endpoint?

 

The api_client does not have the required permission(s).
 
Is this because the version is unstable?
0 Likes
Highlighted
Shopify Partner
15 0 5

@scottydont nevermind, it was just a permission issue on my end. Thanks again!

0 Likes
Highlighted
Shopify Partner
15 0 5

@scottydont are there any plans to add 'fulfillment_order_id' as a result in the Product Variant Endpoint?

 

https://help.shopify.com/en/api/reference/products/product-variant#show-2019-10

 

Because that would be sweet. 

 

1 Like
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

@Daelan_Wood can you elaborate? I'm not sure I follow.

0 Likes
Highlighted
Shopify Partner
15 0 5

Yeah sorry that didn't make any sense.

 

I meant is there any plan to include the 'fulfillment_order_id' in the line item data returned for an order. 

 

https://help.shopify.com/en/api/reference/orders/order#show-2019-10

 

Screen Shot 2019-11-27 at 4.32.27 PM.png

1 Like
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

Oh right. That would be handy. I'm not sure if it's planned but I'll forward on the suggestion nonetheless.

0 Likes
Highlighted
New Member
3 0 0

Hi! 

I'm blowing some air into this;

 

@scottydont ;
If we have two/three locations; how can we consolidate pricing in our app?
As of now it is adding one shipping cost per item from each location;

so say we have defined a tiered pricing in our app, with free shipping over $100, and the customer chooses 3 items @ 50 dollars each, 
they're charged triple shipping, instead of free shipping.

shipping.png

 

in the example above, shipping is set to 149 kr for orders below 400. Free shipping on 400+.

The order total is 437, but subtotal from each location is less than 400...

 

Using the native shipping in Shopify solves this easily, as it does not take locations into account - it's price based.
Not sure how we can edit the code to only post one shipping origin, f.ex, to avoid this. 

0 Likes