I recently updated to using Multi Origin Shipping Locations.
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
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?
Solved! Go to the solution
This is an accepted solution.
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
@scottydont are there any plans to add 'fulfillment_order_id' as a result in the Product Variant Endpoint?
Because that would be sweet.
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.
I'm blowing some air into this;
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.
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.