ResourcesAnalytics
Retrieve store analytics
Retrieve bounded summary, time-series, product-performance, payment-method, and customer-insight data.
By default, this operation returns only period and summary. Use the comma-separated include query parameter to request timeseries, products, or customers.
When products is included, payment_methods is returned alongside it. Visitor and conversion fields can report unavailable: true when the analytics event store is unavailable; revenue and order data remain available.
Time-series points retain the dashboard's sales and yesterday field names. For the revenue metric these values are major units in the period currency; order and visitor metrics are counts, and conversion-rate values are percentage points.