When we create our purchase order we can check that the variant is in stock and tell the user when they will have their delivery. But how do we do when we have called the RequestInventory?When we request the inventory the quantity are descreased. Say we had two in stock and bought two, the inventory will be zero. If we later on for example are sending a confirmation email and then check the inventory we will get zero and we will tell the user another delivery date.
Are there some way to check if a ILineItem was in stock when the order was placed? We have tried to use the IsInventoryAllocated but that one is always true even if one item was from the backorder.