Assign shipping region to specific warehouse

95 0 5

We have a warehouse in Canada and a warehouse in the US. We've setup these warehouses/inventory in Shopify. Let's say we have a cat bed that has 10 in stock in USA and 0 in stock in Canada. How can we ensure that customers are unable to ship the cat bed to Canada when it's out of stock? i.e. on the checkout page, when someone chooses Canada under the shipping drop down, they should be notified that this product is not available (or sold out) in Canada (due to Canadian warehouse being out of stock).

Are we able to assign warehouses to specific locations somehow in shopify so that Shopify knows which products are in stock in which regions on the checkout page?