# Friday Seller Tools – Amazon Subscribe & Save Stockout Margin Plan

> Friday Seller Tools – Amazon Subscribe & Save Stockout Margin Plan is a paid API for AI agents from friday-seller-tools-production.up.railway.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Generates a replenishment and margin plan for Amazon Subscribe & Save products at risk of stockout, optimizing inventory and profitability.

## Facts

- Endpoint: POST https://friday-seller-tools-production.up.railway.app/v1/amazon/replenishment/subscribe-save-stockout-margin-plan
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/friday-seller-tools-amazon-subscribe-save-stockout-margin-plan-1cae819b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v9G4__B7ewzrQ99nDXwzg

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 friday-seller-tools-amazon-subscribe-save-stockout-margin-plan-1cae819b -d '<json body>'
```

Example prompt: I have 3 Subscribe & Save products on Amazon — ASINs B08XYZ123, B07ABC456, and B09DEF789 — with current stock of 200, 50, and 320 units respectively, COGS of $4.50, $12.00, and $7.25, and 30-day replenishment lead times. Can you build me a stockout-risk margin plan to figure out what I need to reorder to keep my Subscribe & Save subscriptions fulfilled without killing my margins?

## When to prefer this

Choose this endpoint when you need to specifically plan Amazon Subscribe & Save replenishment with margin awareness — particularly when stockout risk threatens active subscriber commitments. Prefer it over generic inventory tools when the Subscribe & Save discount structure and subscriber churn from stockouts must be factored into the reorder decision.

## Known failure modes

- Missing required product or inventory fields returns a validation error
- Invalid ASIN format causes a 400 bad request
- Insufficient subscription or demand data may produce low-confidence margin projections
- Service unavailability on Railway hosting returns 502/503
- Job may remain queued without a follow-up status-check endpoint if the async result isn't polled

## How this service works

Instant, low-cost Amazon, Walmart, Shopify, and eBay listing, upload-preparation, advertising, and image-brief deliverables.

## Output

Returns a job_id and queued status immediately; the async job delivers a replenishment plan including stockout risk scores per SKU, recommended reorder quantities, margin projections under current Subscribe & Save discount rates, and prioritized action recommendations to protect subscriber commitments.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "SubscribeSaveOfferMetricsRow",
    "required": [
     "reference",
     "asin",
     "sku",
     "snapshot_date",
     "performance_period_days",
     "shipped_subscription_units",
     "total_subscriptions_revenue",
     "lost_revenue_due_to_oos",
     "subscriber_retention_percent",
     "forecast_units_30d",
     "forecast_units_60d",
     "forecast_units_90d",
     "forecast_revenue_30d",
     "forecast_revenue_60d",
     "forecast_revenue_90d",
     "on_hand_units",
     "lead_time_days",
     "selling_price_per_unit",
     "seller_funded_discount_percent",
     "marketplace_fee_percent",
     "product_cost_per_unit",
     "fulfillment_cost_per_unit",
     "minimum_contribution_per_unit"
    ],
    "properties": {
     "sku": {
      "type": "string",
      "title": "Sku",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9 ._/-]*$",
      "maxLength": 120,
      "minLength": 1
     },
     "asin": {
      "type": "string",
      "title": "Asin",
      "pattern": "^[A-Z0-9]{10}$"
     },
     "reference": {
      "type": "string",
      "title": "Reference",
      "pattern": "^[A-Za-z0-9._:/ -]+$",
      "maxLength": 80,
      "minLength": 1
     },
     "product_name": {
      "anyOf": [
       {
        "type": "string",
        "maxLength": 500,
        "minLength": 1
       },
       {
        "type": "null"
       }
      ],
      "title": "Product Name",
      "default": null
     },
     "on_hand_units": {
      "type": "integer",
      "title": "On Hand Units",
      "maximum": 1000000000,
      "minimum": 0
     },
     "snapshot_date": {
      "type": "string",
      "title": "Snapshot Date",
      "format": "date"
     },
     "lead_time_days": {
      "type": "integer",
      "title": "Lead Time Days",
      "maximum": 90,
      "minimum": 1
     },
     "safety_stock_days": {
      "type": "integer",
      "title": "Safety Stock Days",
      "default": 7,
      "maximum": 60,
      "minimum": 0
     },
     "forecast_units_30d": {
      "type": "number",
      "title": "Forecast Units 30D",
      "maximum": 1000000000,
      "minimum": 0
     },
     "forecast_units_60d": {
      "type": "number",
      "title": "Forecast Units 60D",
      "maximum": 1000000000,
      "minimum": 0
     },
     "forecast_units_90d": {
      "type": "number",
      "title": "Forecast Units 90D",
      "maximum": 1000000000,
      "minimum": 0
     },
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "job_id": "example",
  "status": "queued"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/friday-seller-tools-amazon-subscribe-save-stockout-margin-plan-1cae819b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from friday-seller-tools-production.up.railway.app](https://www.zero.xyz/host/friday-seller-tools-production.up.railway.app/llms.txt)
