Difference between location and origin_location in Order API

Shopify Partner
6 0 2

Can anyone shed some light for me on the difference between location and origin_location when grabbing orders using the Order API?

 

The location seems to be directly tied to the ID of the location that the order was sold in, but I can't seem to figure out what origin_location is referring to. It appears different for orders that were processed in the place and pulled from the same inventory.

 

Also, just to clarify, i'm not talking about orders that have been fulfilled yet. So these IDs have nothing to do with fulfillment locations. This is before they are fulfilled.

0 Likes
Shopify Partner
660 0 103

I'm curious where you see the origin_location?

Is that on the order the order.fulfillments?

0 Likes
Shopify Partner
6 0 2

It's part of the Line Items object

 

Screen Shot 2019-03-28 at 8.26.11 AM.png

0 Likes
New Member
1 0 0

Hello,

 

I have a Zap that has been fetching line items origin location name and it has been a week since it stopped. We havent changed anything in the Shopify level and now I am looking out for the code where I can edit the origin location name, so I need to find that code above.

 

Where can I find this code you posted above, so that I edit it?

 

Is it under the Themes menu and if yes where exactly?

0 Likes