Location ID is null in orders get api

BLACKHEAD
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

BLACKHEAD_0-1628156882690.png

 

0 Likes
awwdam
Shopify Staff
Shopify Staff
155 25 14

Hey @BLACKHEAD,

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). 

09-35-93ten-btky5


 


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


09-42-jahxa-twew0

- 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

0 Likes