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).
reports:readGrant 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
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.