Issue with location_id Missing in Orders Without Customer

I’m facing an issue while fetching orders. When a customer is not assigned to an order, the location_id does not appear in the response. However, if I assign a customer after the order is created, then the location_id is returned when fetching the order

This sounds like it makes sense, the location would most likely be based on the customers address for the best fulfillment options.

1 Like