Skip to main content

Get Receipt Cohort Sell-Through Report

GET 

/api/reports/receipt-cohort-sell-through

30 / 60 / 90-day net sell-through of purchase-order receipts, rolled up by purchase order, supplier, brand, style, product or attribute.

Required scope: reports:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

A cohort is one purchase-order receipt line: the units of one product received into one warehouse on one day (day 0). Each cohort's units are followed through FIFO costing, including units moved by warehouse transfers, to measure how many sold within 30, 60 and 90 days, net of customer returns.

Each window (windows.30, windows.60, windows.90) has matured_received (units received by cohorts at least that many days old), net_sold and returned within the window, and pct (net sold ÷ matured received, 0–1). A cohort only counts in a window once it is old enough; until then the window's values are null and the cohort is left out of the group's percentage. other_out is units that left for other reasons (adjustments, vendor returns, assemblies); remaining is received less net sold to date and other out.

rows are sorted by units received (highest first); key is the value to pass as group_key to List Receipt Cohorts in a Group (receipts with no value share the key none). totals rolls up every cohort in the range. notices.no_receipts is true when no receipt matches; notices.debt_units counts units sold in the range before any stock was recorded for them.

Requires access to the Receipt Cohort Sell-Through report and the reports scope.

Request​

Responses​

OK

Response Headers
    Content-Type