# Target Replenishment Quantity - Single Calculation

> Target Replenishment Quantity - Single Calculation 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 target replenishment quantity for a retail item given a target unit count and current inventory position.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-replenishment-calculate?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/target-replenishment-quantity-single-calculation-27ad8eaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nHAORcafYeacSjWN86AVf

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 target-replenishment-quantity-single-calculation-27ad8eaf -d '<json body>'
```

Example prompt: My target stock level is 200 units and my current inventory position is 120 — can you calculate the replenishment quantity I need to order?

## When to prefer this

Choose this endpoint when you need a quick, self-contained arithmetic calculation of replenishment quantity using only supplied retail figures — no live data feeds, no platform integrations, and no order execution. Ideal for scenario analysis, planning tools, or agent workflows that already have target and inventory figures in hand and need a fast, cheap single-result computation at $0.01 USDC per call.

## Known failure modes

- Missing required fields (target_units or inventory_position) returns a validation error
- Values outside allowed range (negative inventory beyond -1e12 or units above 1e12) may be rejected
- Non-numeric input types cause schema validation failure
- Service unavailability returns a 5xx error

## How this service works

Target replenishment quantity - Single calculation: Single calculation for Target replenishment quantity. 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 single calculation deliverable.

## Output

A single calculated replenishment quantity value derived from the supplied target_units and inventory_position, representing the number of units needed to reach the target stock level. No live inventory data, account information, or order execution is involved — purely a local arithmetic calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "target_units": 200,
    "inventory_position": 120
   },
   "required": [
    "target_units",
    "inventory_position"
   ],
   "properties": {
    "target_units": {
     "type": "number",
     "default": 200,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "inventory_position": {
     "type": "number",
     "default": 120,
     "maximum": 1000000000000,
     "minimum": -1000000000000
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/target-replenishment-quantity-single-calculation-27ad8eaf/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)
