Statistics
This page contains the documentation for the statistics endpoints.
The statistics endpoints allow you to get the statistics of the users, products and orders. These metrics give you insights to the number of users, the most ordered items, and the status of the different orders.
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.
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.
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.
See message description.
see message description.
Last updated