Skip to main content

Rebuild Product Metric Snapshots

POST 

/api/reporting/products/rebuild-snapshots

Dispatches the product-metric snapshot rebuild as a tracked background job and returns its tracked job log ID for progress polling via the tracked job log endpoints. The rebuild recomputes per-channel sales snapshots first, then derives the per-product snapshots by summation. Rejects a second dispatch with 409 while a rebuild is already queued or running.

Required scope: reports:write

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

Authentication: Requires Bearer token (scope: reports)

This endpoint takes no request body.

Request

Responses

OK

Response Headers
    Content-Type