get_stock_by_warehouse
Retrieve inventory distribution matrix of products across warehouses or stores. Filter by product ID or warehouse ID to get stock levels for specific items or locations.
Instructions
取得商品在各倉庫/門市的庫存分佈矩陣。可查詢單一商品或全部商品的各倉庫庫存。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | No | 商品 ID(不填則查詢全部商品,但較慢) | |
| warehouse_id | No | 倉庫 ID 篩選(僅看特定倉庫) |