API to retrieve products for specifc inventory location

We need an API that we can an inventory_id or stock_id to, and it returns all available products in this stock. Or a filter using query params on the fetch products API to filter products based on the stock_id