Check Inventory
check_inventoryCheck stock for a product SKU and return available quantity and in-stock status without changing inventory.
Instructions
Check stock for a SKU.
Example in stock: SKU-1001. Example out of stock: SKU-1002. Returns stock_qty and in_stock. Does not change inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Alphanumeric product SKU (hyphens ok), e.g. SKU-1001 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |