Get order statistics

Requires the order:statistics:read scope. Retrieves descriptive statistics about orders, such as total orders, total revenue, and other aggregated data. Can be filtered using the same parameters as the orders list endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
Defaults to draft_time

Type of datetime for statistics (defaults to 'draft_time')

string
Defaults to Asia/Jakarta

Timezone for datetime adjustment (defaults to 'Asia/Jakarta')

string
enum
Defaults to off

Date breakdown for statistics (defaults to 'off')

Allowed:
string
enum
Defaults to false

Include breakdown by order status (defaults to 'false')

Allowed:
string
enum
Defaults to off

Custom breakdown key for statistics (defaults to 'off')

Allowed:
integer
Defaults to 0

Minimum number of days for statistics (defaults to 0)

string

Search term for the selected search_field. Defaults to order ID search when search_field is omitted or unsupported.

string
enum
Defaults to order_id

Field used by search. Defaults to order_id when omitted or unsupported.

string

Filter by order status

string

Filter by payment status

string

Filter by business ID

string

Filter by store ID

string

Filter by shipped time since (ISO 8601 format)

string

Filter by shipped time until (ISO 8601 format)

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json