inventory_health_score
Calculates a comprehensive inventory health score for a Shopify merchant. Returns GMROI, annual turnover, days inventory outstanding, dead stock exposure %, carrying cost leakage, a 0–100 composite score with per-dimension breakdown (gmroi/turnover/dead_stock), benchmark comparisons by industry segment, risk flags, plain-language diagnosis, and prioritised recommended actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment | Yes | ||
| annualRevenue | Yes | ||
| grossMarginPct | Yes | ||
| deadStockCostValue | Yes | ||
| targetWeeksOfCover | Yes | ||
| avgInventoryCostValue | Yes | ||
| annualCarryingCostRate | Yes | ||
| deadStockThresholdDays | Yes |