How to add fulfillment if Location id Null

Highlighted
New Member
2 0 0

I need to add fulfillments to orders but the loction_id = null.

How can I create a location id or fulfilment?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
587 72 130

Hey @peterdv,

 

Can you clarify where you're seeing a null location_id? 

 

I'll point out that all orders contain a location_id field directly on the order object, but note that this field is only populated for POS orders processed at a physical retail location.

 

You can query a shop on  /admin/api/2020-04/locations.json to get all the locations contained in that shop. I also recommend looking into the new Fulfillment Order API which takes lots of the guesswork out of the fulfillment process by automatically grouping items that are to be fulfilled from the same location.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes