Get stock levels
megaventory_get_stockRead-only
Stock per product per inventory location: physical stock, on hand, on hold, not yet shipped (open sales orders), not yet received (open purchase orders / work orders) and the alert level. Filter by product ids, SKU, category, location or supplier, or show only products below their alert level. POST /InventoryLocationStock/InventoryLocationStockGet.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Only the product with exactly this SKU. | |
| limit | No | How many records to return, 1-100 (default 25). Megaventory returns the newest records first (highest id) and has no page offset: narrow with filters instead of paging. | |
| search | No | Products whose description contains this text. | |
| filters | No | Extra filters, all combined with AND. Field names are the property names shown in the results (case-insensitive). | |
| product_ids | No | Only these product ids. | |
| category_ids | No | Only products in these categories. | |
| location_ids | No | Only these inventory locations (see megaventory_list_inventory_locations). | |
| main_supplier_ids | No | Only products whose main supplier is one of these ids. | |
| only_needing_reorder | No | Only products that need to be ordered (at or below their alert level). | |
| only_positive_quantity | No | Only products with a positive quantity. | |
| include_product_details | No | Also return the product objects. |