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 job tray. 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.
Authentication: Requires Bearer token (scope: reports)
This endpoint takes no request body.
Request
Responses
- 200
Successful response