Order details from Orders API doesn't have the location id listed in location API

vptcalalog_Admi
New Member
8 0 0

I'm using orders REST API "/admin/api/2020-01/orders.json" to get orders from Shopify. In the order data I'm getting "location_id" field is always null. And "origin_location" field have different location Id which is not listed in locations API. For example, I have only one location listed in my store. So locations API returns one location detail with ID as say "L1". So I expect in order data either "location_id" or "origin_location" will have "L1". But in my case I'm getting null in "location_id" and some other value in "origin_location".

Replies 14 (14)