# Net Merchandise Sales Rolling Mean Report

> Net Merchandise Sales Rolling Mean Report 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-18).

Computes a rolling mean of net merchandise sales (gross sales minus discounts and returns) over a configurable window for a supplied series of retail data rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-net-merchandise-sales-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/net-merchandise-sales-rolling-mean-report-4e7e39e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8qFrQVsqmRDwOS58nqnXS

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 net-merchandise-sales-rolling-mean-report-4e7e39e0 -d '<json body>'
```

Example prompt: Can you compute a rolling mean of net merchandise sales for this series of 4 periods — gross sales were $10,000, $11,000, $10,000, $11,000 with discounts of $500, $550, $500, $550 and returns of $300, $330, $300, $330 — using a window of 2?

## When to prefer this

Choose this endpoint when you need a quick, local rolling mean computation on retail net merchandise sales data you already have. It is ideal for smoothing time-series sales figures across multiple periods, performing offline scenario analysis, or preparing trend summaries without requiring live inventory, platform account, or order execution access. It is not suitable for fetching live sales data, querying platform fees, or executing transactions.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- Window size exceeds number of rows — rolling window cannot be applied
- Negative values for discounts or returns — violates minimum=0 constraint
- Any of gross_merchandise_sales, discounts, or returns missing from a row — required fields not satisfied
- Values exceed maximum threshold of 1,000,000,000,000 — out of bounds error
- Non-numeric values in numeric fields — schema validation failure

## How this service works

Net merchandise sales - Rolling mean report: Rolling mean report for Net merchandise sales. 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 rolling mean report deliverable.

## Output

Returns a rolling mean report of net merchandise sales values computed from the supplied rows, where each net value is derived as gross merchandise sales minus discounts minus returns, smoothed over the specified window size. Output is a local calculation with no live platform data, inventory access, or external account lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "gross_merchandise_sales",
     "discounts",
     "returns"
    ],
    "properties": {
     "returns": {
      "type": "number",
      "default": 300,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "discounts": {
      "type": "number",
      "default": 500,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "gross_merchandise_sales": {
      "type": "number",
      "default": 10000,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "returns": 300,
     "discounts": 500,
     "gross_merchandise_sales": 10000
    },
    {
     "returns": 330,
     "discounts": 550,
     "gross_merchandise_sales": 11000
    },
    {
     "returns": 300,
     "discounts": 500,
     "gross_merchandise_sales": 10000
    },
    {
     "returns": 330,
     "discounts": 550,
     "gross_merchandise_sales": 11000
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-merchandise-sales-rolling-mean-report-4e7e39e0/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)
