Dashboard

Get chart data

get

Fetches chart data for visualization.

Authorizations
AuthorizationstringRequired
Query parameters
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved chart data.

application/json
get
/api/v1/dashboard/chart/
200

Successfully retrieved chart data.

Get top cities

get

Retrieves a list of cities with the highest order volumes.

Authorizations
AuthorizationstringRequired
Query parameters
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved top cities.

application/json
get
/api/v1/dashboard/top_cities/
200

Successfully retrieved top cities.

Get top categories

get

Retrieves a list of top-selling categories.

Authorizations
AuthorizationstringRequired
Query parameters
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved top categories.

application/json
get
/api/v1/dashboard/top_categories/
200

Successfully retrieved top categories.

Get product details

get

Retrieves total product count and stock for the given channel.

Authorizations
AuthorizationstringRequired
Query parameters
channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved product details.

application/json
get
/api/v1/dashboard/
200

Successfully retrieved product details.

Get products sales data.

get

Fetches a list of products sale data for a given period.

Authorizations
AuthorizationstringRequired
Query parameters
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved products sale data.

application/json
get
/api/v1/dashboard/orders_by_product/
200

Successfully retrieved products sale data.

Get top products

get

Fetches a list of top products based on sales or quantity.

Authorizations
AuthorizationstringRequired
Query parameters
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved top products.

application/json
get
/api/v1/dashboard/top_products/
200

Successfully retrieved top products.

Get overall data

get

Fetches overall dashboard data such as turnover, sales, and refunds.

Authorizations
AuthorizationstringRequired
Query parameters
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

channelintegerRequired

ID of the channel the customer belongs to

Example: 5
payment_option_slugstringOptional

Filter by payment option slug.

Example: credit_card
Responses
chevron-right
200

Successfully retrieved overall data.

application/json
get
/api/v1/dashboard/overall_data/
200

Successfully retrieved overall data.

Last updated

Was this helpful?