Skip to main content

Export SKU COGS Health

GET 

/api/cogs/sku-health/export

Export SKU COGS health metrics as spreadsheet-ready JSON rows. Unlike file-download exports, this endpoint returns the rows in the JSON response body (keyed by column heading) so the caller can save them as CSV/XLSX. Returns up to 10,000 products.

Required scope: inventory:read

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

Each row reports the cost-of-goods-sold consistency for one product: initial COGS, current unit cost, and the min / max / median / average COGS across its active cost layers, plus the variation percentage between layers. Valuation Method is WAC when the product carries Amazon FBA stock (valued on a weighted-average ledger), otherwise FIFO. Monetary values are formatted strings with thousands separators.

Filters (all optional):

  • search — matches product SKU or product name (partial match).
  • variation_min / variation_max — only products whose COGS variation percentage is within the given bounds.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type