We are facing one issue while calling shopify order API (/admin/api/2021-04/orders.json) where some (old) orders are populated with location_id whereas some (new) orders location_id are coming as null.
Can you please help us in identifying the root causes why in some orders location_id is coming as null.
For your reference, please find attached API response.
Looking forward your quick response for this request.
"location_id": 49202758 The ID of the physical location where the order was processed. This property refers to the POS location. location_id will always be set to null for online orders. If you need to reference the location against an order, then use the FulfillmentOrder resource.