Refresh Stats and Accounting Pipeline (Async)
Accounting
Refresh Stats and Accounting Pipeline (Async)
Refresh Stats and Accounting Pipeline
GET
Refresh Stats and Accounting Pipeline (Async)
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
Refresh Stats and Accounting Pipeline Queue a comprehensive stats and accounting refresh pipeline using BullMQ. This operation triggers an asynchronous workflow that updates product, asset, and artist statistics followed by accounting recalculation. Method: GET Note: This operation is asynchronous and returns immediately with a flow ID for tracking. The actual processing happens in the background via BullMQ queues. Pipeline Steps:- Product stats queue
- Asset stats queue
- Artist stats queue
- Accounting queue
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Response
Stats and accounting refresh queued successfully