Skip to main content

Get Inventory COGS Drilldown

GET 

/api/reporting/inventory-cogs/drilldown

Underlying movements behind one Inventory COGS report row — the individual inventory movements (sales fulfillments, customer returns, adjustments, stock takes) and Amazon FBA ledger events 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).

Required scope: reports:read

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

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 cross-link to the underlying business document via link_route (the sales order fulfillment, return receipt, inventory adjustment, stock take, or FBA ledger event that produced it), plus link_type_label, link_id, and link_reference. link_route is null when the movement's source cannot be resolved.

Authentication: Requires Bearer token. Scope: reports.

Request

Responses

OK

Response Headers
    Content-Type