Sales velocity
get_sales_velocityUse for historical Amazon-marketplace product sales velocity and inventory planning. Returns order-item-sourced net_units_sold by ASIN/period from Orders API data plus Business Reports sales/traffic fields when available. Explicit Non-Amazon/MCF sales channels are excluded so order-derived units reconcile with get_sales_summary and Business Reports. Grain defaults to daily when asin is provided and per-ASIN range summary otherwise; set time_grain=day/week/month/summary for explicit periods. Do not use get_orders header counts as units sold; get_orders intentionally returns channel-complete raw order headers, including cancellations and MCF. Do not use for current-day or account-level totals; use get_todays_sales or get_sales_summary.
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_by | No | Column to sort by. net_units_sold is sourced from order items; units_ordered is Business Reports when available. | net_units_sold |
| end_date | No | Optional. YYYY-MM-DD end date. | |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD start date. | |
| time_grain | No | Optional period grain. Defaults to day when asin is provided, otherwise summary over the requested range. | |
| include_raw_rows | No | False returns compact rows. Default true. | |
| include_diagnostics | No | True may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |