# Net Merchandise Sales Threshold Classification

> Net Merchandise Sales Threshold Classification 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).

Classifies net merchandise sales figures (gross sales minus discounts and returns) against user-defined lower and upper thresholds, returning a bounded category label for each row.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-net-merchandise-sales-threshold?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/net-merchandise-sales-threshold-classification-15b3a39b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b4Atf49rqQQ8TiwO4JDgd

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-threshold-classification-15b3a39b -d '<json body>'
```

Example prompt: For each of these retail periods, calculate net merchandise sales (gross minus discounts and returns) and classify each row as below, within, or above the range — lower threshold 8000 and upper threshold 12000: Period 1: gross 10000, discounts 500, returns 300; Period 2: gross 11000, discounts 550, returns 330.

## When to prefer this

Use this endpoint when you need a fast, local threshold classification of net merchandise sales computed from supplied retail figures — particularly when you have 2–200 rows of gross sales, discounts, and returns data and want to classify each row against configurable lower and upper bounds. Prefer this over general analytics APIs when you specifically need the net merchandise sales formula (gross minus discounts minus returns) applied before classification, and when you do not need live inventory data, platform fee lookups, or order execution.

## Known failure modes

- Missing required fields (gross_merchandise_sales, discounts, returns) returns a validation error
- Fewer than 2 rows submitted triggers a minItems constraint error
- More than 200 rows submitted exceeds the maxItems limit
- Threshold values outside the allowed numeric bounds cause a schema validation failure
- Non-numeric values in sales fields result in type errors
- Lower threshold greater than upper threshold may produce unexpected or inverted classifications

## How this service works

Net merchandise sales - Threshold classification: Threshold classification 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 threshold classification deliverable.

## Output

Returns a threshold classification label for each input row indicating whether the computed net merchandise sales (gross minus discounts minus returns) falls below the lower threshold, within the lower-to-upper range, or above the upper threshold. One bounded classification deliverable per row submitted.

## 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
  },
  "lower": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "upper": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  }
 }
}
```

## More

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