Location ID is null in orders get api

New Member
4 0 0

There is only one location in the locations setting and it is also set default location.

I checked the invetory and find it is stocked in the location so I don't know why the location ID in the unfulfilled orders returns as NULL.


Can someone give some insight to this? Many thanks



Reply 1 (1)
Shopify Staff
Shopify Staff
241 40 30


With the 'location_id' field on the Order Resource (REST Admin API), this would refer to a location where an order was processed (eg. a POS location). 



If you are looking for fulfillment 'location_id', you can click on the resource linked there or use the Fulfillment Resource here.


- Cheer!

awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog