Dashboard
Fetches chart data for visualization.
Start date for the data range.
End date for the data range.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved chart data.
Count of orders.
Time representation for the chart. Hour of the day.
GET /api/v1/dashboard/chart/?start_date=2026-01-01T00%3A00%3A00.000Z&end_date=2026-01-01T00%3A00%3A00.000Z&channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved chart data.
[
{
"count": 1,
"time": "text"
}
]Retrieves a list of cities with the highest order volumes.
Start date for the data range.
End date for the data range.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved top cities.
City name.
Number of items sold in the city.
Number of orders in the city.
Total sales amount for the city.
GET /api/v1/dashboard/top_cities/?start_date=2026-01-01T00%3A00%3A00.000Z&end_date=2026-01-01T00%3A00%3A00.000Z&channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved top cities.
[
{
"name": "text",
"item_count": 1,
"city_count": 1,
"price": 1
}
]Retrieves a list of top-selling categories.
Start date for the data range.
End date for the data range.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved top categories.
ProductCategory ID.
Category name.
Total number of sales for the category.
Total sales amount for the category.
GET /api/v1/dashboard/top_categories/?start_date=2026-01-01T00%3A00%3A00.000Z&end_date=2026-01-01T00%3A00%3A00.000Z&channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved top categories.
[
{
"pk": 1,
"name": "text",
"item_count": 1,
"price": 1
}
]Retrieves total product count and stock for the given channel.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved product details.
123123GET /api/v1/dashboard/?channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved product details.
{
"total_product_count": 123,
"total_product_stocks": 123
}Fetches a list of products sale data for a given period.
Start date for the data range.
End date for the data range.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved products sale data.
Total number of products sold.
Total sales amount.
Total stock.
Product base code.
Product SKU.
Product name.
Channel name.
GET /api/v1/dashboard/orders_by_product/?start_date=2026-01-01T00%3A00%3A00.000Z&end_date=2026-01-01T00%3A00%3A00.000Z&channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved products sale data.
[
{
"sold": 1,
"total": 1,
"stock": 1,
"base_code": "text",
"sku": "text",
"name": "text",
"channel": "text"
}
]Fetches a list of top products based on sales or quantity.
Start date for the data range.
End date for the data range.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved top products.
Product ID.
Total quantity sold.
Total sales amount.
Product name.
GET /api/v1/dashboard/top_products/?start_date=2026-01-01T00%3A00%3A00.000Z&end_date=2026-01-01T00%3A00%3A00.000Z&channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved top products.
[
{
"orderitem__product": 1,
"product_count": 1,
"price": 1,
"name": "text"
}
]Fetches overall dashboard data such as turnover, sales, and refunds.
Start date for the data range.
End date for the data range.
ID of the channel the customer belongs to
5Filter by payment option slug.
credit_cardSuccessfully retrieved overall data.
123.45123123123.45123.45123.45123.452021-01-01T00:00:00Z123.45123.45123.45123123GET /api/v1/dashboard/overall_data/?start_date=2026-01-01T00%3A00%3A00.000Z&end_date=2026-01-01T00%3A00%3A00.000Z&channel=5 HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Successfully retrieved overall data.
{
"turnover": 123.45,
"total_order_quantity": 123,
"total_orderitem_quantity": 123,
"average_sale_price": 123.45,
"average_basket_price": 123.45,
"total_shipping_amount": 123.45,
"total_discount": 123.45,
"updated_at": "2021-01-01T00:00:00Z",
"total_sale_amount": 123.45,
"total_refund_amount": 123.45,
"total_cancel_amount": 123.45,
"total_cancel_quantity": 123,
"total_refund_quantity": 123,
"currency_type": "TL"
}Last updated
Was this helpful?

