DashboardModule
Provides methods for retrieving dashboard statistics and overviews.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DashboardModule(
client):DashboardModule
Parameters
Section titled “Parameters”client
Section titled “client”Returns
Section titled “Returns”DashboardModule
Methods
Section titled “Methods”stats()
Section titled “stats()”stats():
Promise<any>
Retrieves high-level dashboard statistics (e.g., total orders, revenue).
Returns
Section titled “Returns”Promise<any>
A promise resolving to the dashboard statistics data.