When a customer is browsing a store then how can I get which inventory location is being selected when that customer is making order?
Assume a store has product X in two locations: A with 5 units and B with 3 units. Now it’s gonna give me error if I place an order for X product of 5 quantities but the selected inventory is B.
So I need to know which inventory location is being selected for that customer.