Stock levels with fulfillment service with multiple warehouses

Stock levels with fulfillment service with multiple warehouses

vmelker
Visitor
1 0 0

I have created a Fulfillment service app with the setting "inventory_management" set to true. This means that shopify will periodically call me on my "fetch_stock" endpoint and ask for the stock level for a specific sku. 
However the goods that we sell (using the fulfillment service) are stored in 3 different physical warehouses around the world. Depending on where the buyer of the goods are they will be delivered from one of the warehouses. So I don't really have a single stock value for each sku, instead I have 3, one fore each warehouse.

I want to be able to set a variant "out of stock for selling to country X" (when i'm out of stock in one of the warehouses), but still "in stock for selling to country Y". I have not managed to do this yet. 
How can I handle stock for multiple markets for a fulfillment service app? In the fetch stock call I can only give a single stock number as answer. 

Replies 0 (0)