Statistics
This page contains the documentation for the statistics endpoints.
This endpoint provides a summary of key metrics for the users shown in the admin dashboard, including:
- Total orders and their statuses (pending, delivery, and completed).
- Total users and total products. Each metric includes a text label, count, and a link for further details.
Provide your API key.
Successful response. Returns a summary of dashboard statistics.
A descriptive label for the statistic.
The numeric value of the statistic.
A relative URL for detailed information about the statistic.
See message description.
see message description.
This endpoint retrieves product statistics for the specified page, including:
- Total products sold (
soldCount). - Breakdown of product orders by status (
pending,delivery,completed) with counts and total quantities.
Provide your API key.
The page number for paginated product statistics.
Successful response. Returns a paginated list of product statistics.
Unique identifier for the product.
Name of the product.
Total number of units sold.
See message description.
see message description.
This endpoint retrieves order statistics for the specified page.
Provide your API key.
The page number for pagination.
1A list of orders.
Total number of orders.
49See message description.
see message description.
Last updated