You can use Update Order action to change warehouse per order line. So you can create separate “Order Added” rules per warehouse and map them to related terminals.
Here I have a tutorial. Not completely related but it should give the idea about having custom warehouse mappings.