# Minimum-Stock Replenishment Gap – Weighted Result Mean

> Minimum-Stock Replenishment Gap – Weighted Result Mean 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-15).

Calculates the weighted mean of the replenishment gap (units needed to meet minimum stock levels) across multiple retail inventory rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-minimum-stock-gap-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minimum-stock-replenishment-gap-weighted-result-mean-3777ea29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_70V1IixhZwHc9yvc9M2Vn

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 minimum-stock-replenishment-gap-weighted-result-mean-3777ea29 -d '<json body>'
```

Example prompt: Calculate the weighted mean replenishment gap for my retail inventory: rows with minimum_units 100, available_units 35, inbound_units 20 (weight 1) and minimum_units 110, available_units 38.5, inbound_units 22 (weight 2) — I need to know the weighted average shortfall.

## When to prefer this

Choose this endpoint when you need a single weighted aggregate metric summarizing the replenishment gap across multiple retail inventory rows — especially when different rows (SKUs, locations, product lines) should contribute unequally to the summary based on priority or volume. It is ideal for quick, cost-effective ($0.01) statistical summarization of supplied retail figures without needing live rates, platform access, or order execution. Use it over a simple mean when row importance varies.

## Known failure modes

- Fewer than 2 rows supplied — API requires minimum 2 rows
- Weights array length does not match rows array length — mismatch error
- Any unit value exceeds maximum boundary of 1,000,000,000,000 — validation error
- Negative unit or weight values submitted — rejected by schema constraints
- Payment of 0.01 USDC not completed — request blocked by x402 payment wall
- More than 200 rows submitted — exceeds maxItems limit

## How this service works

Minimum-stock replenishment gap - Weighted result mean: Weighted result mean for Minimum-stock replenishment gap. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded weighted result mean report.

## Output

Returns a single bounded weighted result mean report representing the weighted average replenishment gap (in units) across all submitted inventory rows, accounting for per-row weights. The report is capped at up to 200 input records per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "minimum_units",
     "available_units",
     "inbound_units"
    ],
    "properties": {
     "inbound_units": {
      "type": "number",
      "default": 20,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "minimum_units": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "available_units": {
      "type": "number",
      "default": 35,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "inbound_units": 20,
     "minimum_units": 100,
     "available_units": 35
    },
    {
     "inbound_units": 22,
     "minimum_units": 110.00000000000001,
     "available_units": 38.5
    },
    {
     "inbound_units": 20,
     "minimum_units": 100,
     "available_units": 35
    },
    {
     "inbound_units": 22,
     "minimum_units": 110.00000000000001,
     "available_units": 38.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minimum-stock-replenishment-gap-weighted-result-mean-3777ea29/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)
