Allocate an order to a location based on customer tags

this isn’t what I am wanting, I want all products available to both but I want to have seperate inventory for wholesale and retail customers. I have found an app with the feature i want where you can set some reserve stock for just Retail customers however i want it the other way round i want to reserve stock for wholesale (without creating a seperate product listing for the same product).