# Gross Margin Return on Inventory (GMROI) Named Scenario Comparison

> Gross Margin Return on Inventory (GMROI) Named Scenario Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Computes and compares GMROI across multiple named scenarios against a baseline, using supplied retail figures with no live data access.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-inventory-margin-return-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gross-margin-return-on-inventory-gmroi-named-scenario-comparison-edec151b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DBm9mJCmRLVh0ioayprjt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gross-margin-return-on-inventory-gmroi-named-scenario-comparison-edec151b -d '<json body>'
```

Example prompt: Compare my GMROI across two scenarios: baseline with gross profit of $8,000 and average inventory cost of $4,000, then a second scenario called 'Price Increase' where gross profit rises to $10,000 — show me how the return on inventory changes.

## When to prefer this

Choose this endpoint when you need to locally model and compare GMROI across multiple named business scenarios using supplied figures, without requiring live inventory data, platform integrations, or account access. It is ideal for retail planning, sensitivity analysis, and presenting scenario trade-offs to stakeholders at very low cost.

## Known failure modes

- Missing required baseline fields (gross_profit or average_inventory_cost) returns validation error
- average_inventory_cost of zero or negative triggers exclusiveMinimum validation failure
- Providing more than 20 scenarios exceeds maxItems limit
- Scenario override objects with no properties fail minProperties:1 constraint
- Scenario labels exceeding 80 characters are rejected
- Values outside the allowed numeric range (±1 trillion) trigger schema validation errors

## How this service works

Gross margin return on inventory - Named scenario comparison: Named scenario comparison for Gross margin return on inventory. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded named scenario comparison deliverable.

## Output

Returns a structured named scenario comparison deliverable showing GMROI calculated for the baseline and each named scenario, enabling side-by-side evaluation of how changes to gross profit and average inventory cost affect inventory return efficiency.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "gross_profit": 5000,
    "average_inventory_cost": 2500
   },
   "required": [
    "gross_profit",
    "average_inventory_cost"
   ],
   "properties": {
    "gross_profit": {
     "type": "number",
     "default": 5000,
     "maximum": 1000000000000,
     "minimum": -1000000000000
    },
    "average_inventory_cost": {
     "type": "number",
     "default": 2500,
     "maximum": 1000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "gross_profit": {
        "type": "number",
        "default": 5000,
        "maximum": 1000000000000,
        "minimum": -1000000000000
       },
       "average_inventory_cost": {
        "type": "number",
        "default": 2500,
        "maximum": 1000000000000,
        "minimum": 0,
        "exclusiveMinimum": 0
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "gross_profit": 5500
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gross-margin-return-on-inventory-gmroi-named-scenario-comparison-edec151b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
