Get order statistics
Requires the order:statistics:list 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.
Otorisasi
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parameter Query
Type of datetime for statistics (defaults to 'created_at')
draft_time, pending_time, confirmed_time, in_process_time, ready_time, canceled_time, shipped_time, shipped_rts_time, completed_time, rts_time, closed_time Timezone for datetime adjustment (defaults to 'Asia/Jakarta')
Date breakdown for statistics (defaults to 'off')
off, day, week, month Include breakdown by order status (defaults to 'false')
true, false Custom breakdown key for statistics (defaults to 'off')
off, handler_id, advertiser_id, page_id, city, province Minimum number of days for statistics (defaults to 0)
Search term for the selected search_field. Defaults to order ID search when search_field is omitted or unsupported.
Field used by search. Defaults to order_id when omitted or unsupported.
order_id, shipment_receipt, external_id, pg_reference_id, gross_revenue, customer_name, customer_email, customer_phone Filter by order status
Filter by payment status
Filter by business ID
Filter by store ID
Filter by shipped time since (ISO 8601 format)
Filter by shipped time until (ISO 8601 format)

