orderMetrics
Get order metrics including time series data for bar charts and status breakdown for pie charts. Automatically filtered by seller for seller staff users.
orderMetrics(
dateRange: AnalyticsDateRangeInput!
groupBy: DateGroupingEnum!
sellerId: ID
): OrderMetrics
Arguments
orderMetrics.dateRange ● AnalyticsDateRangeInput! non-null input
Date range for the metrics query
orderMetrics.groupBy ● DateGroupingEnum! non-null enum
How to group the time series data
orderMetrics.sellerId ● ID scalar
Optional seller ID to filter by (MPO only)
Type
OrderMetrics object
Order metrics including time series and status breakdown