To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more

Orders REST API - Assigned Location ID

Shopify Partner
13 0 14

I understand that we can obtain location id assigned by Shopify to an order line.

The issue is highly circuitous and requires multiple (assuming you're using REST) calls.  You then need to parse the response, find the order line and interleave the order line and fullfillment line objects. WHAT A PAIN!

It would be better and easier if the assigned location id (name/object possibly) were included on the order line object.

This would simplify ERP integrations or any fulfilment integration where an order and order lines are the key transaction/object. Orders-> Shipments -> Invoices

I know this has been requested before, but I am adding my own 2 pence.

Many Thanks

Replies 2 (2)
Shopify Expert
1764 154 459

+1 on this, I think it's the most highly requested item is to simply have the assigned location ID in the line items object. Solves so many problems for so many users and developers.

Do you mind sharing the workaround you mentioned to extract the location ID the painful way?

• Creator of Order Automator (app to save time + automate tasks, monitor orders, tag, fulfill, FBA)
• Shopify developer for +10 years
• Contributor on the Speed Boostr blog
• Guy who likes to help people
Shopify Partner
10 0 0

hey, i don't think they havent updated it yet


do you follow the same flow,

fetch orders -> fetch fulfillment_orders -> parse the response based on needs...


also would be nice if you could point me to the graph ql solution

Software Developer @