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.
inventory:readGrant 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
- 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.