# Net Merchandise Sales Before-and-After Comparison

> Net Merchandise Sales Before-and-After Comparison 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).

Calculates and compares net merchandise sales (gross sales minus discounts and returns) for two scenarios — before and after — to show the delta.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-net-merchandise-sales-compare?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-before-and-after-comparison-be9013ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wNMPDvH2J-zkfJw__GYgH

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-before-and-after-comparison-be9013ce -d '<json body>'
```

Example prompt: Compare my net merchandise sales before and after a pricing change — before I had gross sales of $10,000, discounts of $500, and returns of $300; after the change gross sales are $11,000, discounts are $550, and returns are $330.

## When to prefer this

Choose this endpoint when you need a quick, local, reproducible before-and-after net merchandise sales calculation using only retail figures you already have — no need for live inventory access, platform integrations, or order execution. Ideal for scenario analysis, policy change impact assessment, or post-campaign reporting where the input numbers are known and deterministic output is required.

## Known failure modes

- Missing required fields (gross_merchandise_sales, discounts, or returns in either before or after object) returns a validation error
- Values exceeding 1,000,000,000,000 or below 0 are rejected by schema validation
- Malformed JSON body returns a 400-level error
- Payment not attached or insufficient USDC results in a 402 payment required response

## How this service works

Net merchandise sales - Before and after comparison: Before and after comparison 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 before and after comparison deliverable.

## Output

Returns a structured before-and-after comparison showing net merchandise sales for each scenario (gross sales minus discounts and returns), along with the absolute and/or percentage change between the two periods. No live inventory or platform data is used — calculation is performed locally on the supplied figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "returns": 330,
    "discounts": 550,
    "gross_merchandise_sales": 11000
   },
   "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
  },
  "before": {
   "type": "object",
   "default": {
    "returns": 300,
    "discounts": 500,
    "gross_merchandise_sales": 10000
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/net-merchandise-sales-before-and-after-comparison-be9013ce/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)
