Skip to main content

Update Replenishment Settings

PUT 

/api/amazon/:integrationInstance/replenishment/settings

Upsert replenishment settings. Omit product_id (or send null) to update the instance-level default; send a product_id to create/update a per-product override.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Fields:

  • product_id: optional integer, must exist in products. Null = instance default
  • target_days_of_supply: required integer 1-365. Days of FBA coverage to target
  • buffer_days: required integer 0-365. Safety buffer added to the planning horizon
  • velocity_window_days: required integer 1-365. Trailing sales window used to compute daily velocity
  • case_pack_qty: optional integer >= 1. Suggestions round DOWN to whole case packs
  • min_shelf_life_days: optional integer >= 0
  • blackout_dates: optional array of dates

Authentication: Bearer token.

case_pack_rounding (string, optional) — how suggested quantities round to full cases for products with a case_pack_qty: always_round_down (default — never exceed the target/cap), always_round_up (ship full cases; may overshoot the coverage target but never the origin/supplier stock cap), or round_nearest.

case_pack_rounding accepts: always_round_up, always_round_down, round_nearest, none (send the exact suggested quantity, no case-pack rounding).

Request

Responses

OK

Response Headers
    Content-Type