Days of cover
get_days_of_coverUse for per-ASIN/per-FBA-SKU replenishment coverage: days of stock remaining computed from FBA fulfillable + FBA inbound divided by recent FBA sales velocity. Uses completed Sales & Traffic Business Reports when every due date in the lookback is loaded (the newest dates inside Amazon's finalization lag are reported as not yet due and excluded from the velocity average); when initial Business Report backfill is incomplete and the lookback is 7/30/60/90 days, uses Amazon FBA Inventory Health shipped-unit velocity as a source-attributed fallback and surfaces the sales-history data gap. AWD on-hand is reported as its own field but excluded from the cover numerator (AWD is upstream of FBA, not directly fulfillable). Sorted by lowest cover first. Do not use for raw stock counts, aged inventory fees, or broad triage; use get_fba_inventory/get_inventory_health/get_inventory_risk_triage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Filter by SKU | |
| asin | No | Filter by ASIN | |
| limit | No | Max rows (1-1000, default 20). | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| sort_order | No | Sort order (default: asc — most urgent first) | asc |
| include_raw_rows | No | False returns compact rows. Default true. | |
| max_days_of_cover | No | Only show ASINs with at most this many days of cover | |
| min_days_of_cover | No | Only show ASINs with at least this many days of cover | |
| include_diagnostics | No | True may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available. | |
| sales_lookback_days | No | Number of days to look back for sales velocity (default 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |