# Net Merchandise Sales Record Ranking

> Net Merchandise Sales Record Ranking 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).

Ranks an array of retail records by net merchandise sales (gross sales minus discounts and returns) and returns their order

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-net-merchandise-sales-rank?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-record-ranking-e00a573d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EEHGugMzh8vE6ZELS2l1T

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-record-ranking-e00a573d -d '<json body>'
```

Example prompt: I have 4 retail periods to compare — period 1 had gross sales of $10,000 with $500 in discounts and $300 in returns; period 2 had $11,000 gross, $550 discounts, $330 returns; period 3 had $9,500 gross, $400 discounts, $250 returns; period 4 had $12,000 gross, $600 discounts, $400 returns — can you rank them by net merchandise sales from best to worst?

## When to prefer this

Choose this endpoint when you need to rank a batch of 2–200 retail records by net merchandise sales computed locally from gross sales, discounts, and returns. It is purpose-built for offline scenario analysis and comparative ranking without requiring live inventory access, platform credentials, or order execution. Prefer it over general-purpose sorting when you want a dedicated, pay-per-call retail analytics computation that returns a clean record ranking deliverable.

## Known failure modes

- Fewer than 2 rows submitted — minimum 2 records required for ranking
- More than 200 rows submitted — exceeds maxItems limit
- Negative values passed for gross_merchandise_sales, discounts, or returns — values must be >= 0
- Missing required fields (gross_merchandise_sales, discounts, or returns) in any row
- Values exceeding 1,000,000,000,000 — outside allowed maximum range

## How this service works

Net merchandise sales - Record ranking: Record ranking 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 record ranking deliverable.

## Output

A ranked ordering of the submitted retail records based on computed net merchandise sales (gross_merchandise_sales minus discounts minus returns), showing each record's position and net sales value so the highest-performing records can be identified at a glance.

## 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-merchandise-sales-record-ranking-e00a573d/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)
