# Gross Margin Return on Inventory (GMROI) Distribution Summary

> Gross Margin Return on Inventory (GMROI) Distribution Summary 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-19).

Computes a statistical distribution summary of Gross Margin Return on Inventory (GMROI) values across multiple supplied retail records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-inventory-margin-return-summary?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gross-margin-return-on-inventory-gmroi-distribution-summary-3c014f9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vL-QLDtk9roxDrELb-oq7

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-distribution-summary-3c014f9e -d '<json body>'
```

Example prompt: Can you calculate a GMROI distribution summary across these 4 inventory records: first item has gross profit of $5,000 and average inventory cost of $2,500; second has $5,500 gross profit and $2,750 average inventory cost; third has $5,000 and $2,500; fourth has $5,500 and $2,750?

## When to prefer this

Choose this endpoint when you need a statistical distribution summary of GMROI across multiple retail inventory records using only locally supplied figures — no live inventory feed, no platform integration, and no order execution needed. Ideal for scenario analysis, benchmarking, or batch summarization of margin performance across 2–200 product or category records.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 rows required
- average_inventory_cost is zero or negative — exclusiveMinimum constraint violated
- More than 200 rows submitted — exceeds maxItems limit
- Non-numeric values passed for gross_profit or average_inventory_cost
- Missing required fields gross_profit or average_inventory_cost in any row
- Payment of 0.01 USDC not provided or x402 payment header malformed

## How this service works

Gross margin return on inventory - Distribution summary: Distribution summary 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 distribution summary deliverable.

## Output

A statistical distribution summary of GMROI values computed from the supplied rows, covering metrics such as mean, median, spread, and distribution characteristics across all provided gross profit and average inventory cost pairs. No live inventory data, account access, or external platform data is used — all calculations are local to the supplied figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "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
   },
   "default": [
    {
     "gross_profit": 5000,
     "average_inventory_cost": 2500
    },
    {
     "gross_profit": 5500,
     "average_inventory_cost": 2750
    },
    {
     "gross_profit": 5000,
     "average_inventory_cost": 2500
    },
    {
     "gross_profit": 5500,
     "average_inventory_cost": 2750
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gross-margin-return-on-inventory-gmroi-distribution-summary-3c014f9e/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)
