Drilldown Accounting COGS
GET/api/reporting/accounting-cogs/drilldown
Underlying movements behind one COGS report row — the individual accounting_cogs view rows (sales fulfillments, customer returns, inventory adjustments, FBA movements) that compose the clicked group/SKU aggregate. Paginated, sortable, searchable, with a totals block that reconciles to the report row that opened it (same 9 metrics).
Identify the clicked row with dimensions[<group_by>]=<value> for each active group-by dimension down to that row's level (e.g. sales_channel, then sku). Pass the same filter[date_range_from]/filter[date_range_to] the report was generated with. Each row includes a product_link to the product detail page and a source_label/src_id for the originating accounting record.
Authentication: Requires Bearer token. Scope: reports.
Request
Responses
- 200
OK