Location_id is coming as "null" in Json response for Shopify Pre-orde.

Highlighted
Excursionist
18 1 5

Hi Shopify, 

 

We are not getting the location_id in response from Shopify for pre-orders. 

Here is the order and its response from Shopify.

 

1963.jpg1962.jpg

 

0 Likes
Highlighted
Excursionist
18 1 5

Can some one provide an update on this ?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
51 10 5

Hi there, 

 

This post goes into detail regarding your question: https://community.shopify.com/c/Shopify-APIs-SDKs/Order-LocationID-Null/m-p/540127/highlight/true#M3...

 

location_id is only populated on orders that have been placed via POS. 

0 Likes
Highlighted
Excursionist
18 1 5

So to clarify the location which is appeared on order not the order location, its the location through which order will be fulfilled, That why the Location_id is null in response?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
51 10 5

The location_id on the order is not the location at which the order was placed or where it is being delivered. The location_id represents the fulfillment location of the order.

0 Likes