Dashboard
This is for getting the count for customers in the admin dashboard.
success response
1Successfully got dashboard customers countGET /product/dashboard/admin-customers-count?duration=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully got dashboard customers count"
}This is for getting the count of orders in the admin dashboard.
success response
1Successfully got dashboard orders and vendors count based on ordersGET /product/dashboard-admin/orders-count?duration=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully got dashboard orders and vendors count based on orders"
}This is for getting the average of the order value in admin dashboard.
success response
1Successfully got the average order valueGET /product/dashboard-average-order-value?duration=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully got the average order value"
}This is for getting the total revenue earned from the eCommerce portal and this will be shown in admin dashboard.
success response
1Successfully got the total revenue amountGET /product/dashboard-total-revenue?duration=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully got the total revenue amount"
}This is for getting the average conversion rate of the eCommerce portal.
success response
1Successfully got average conversion ratioGET /product/dashboard-average-conversion-ratio?duration=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully got average conversion ratio"
}This is for getting the graph for the weekly sales list.
success response
1Successfully got the top ten weekly sales listerror response
GET /product/dashboard/graph-weekly-saleslist?productId=1 HTTP/1.1
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully got the top ten weekly sales list"
}This is for fetching the counds in the dashboard.
success response
1successfully got the dashboard count.GET /product/dashboard-count HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "successfully got the dashboard count."
}This is for fetching the count for the total vendors and total product, in the admin dashboard.
success response
1successfully got the dashboard total vendor and total product count.GET /product/dashboard-admin-totalvendor-totalproduct-count HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "successfully got the dashboard total vendor and total product count."
}Last updated

