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 Authorization:- Required role:
adminor higher
- 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