v1

latestOpenAPI 3.1.02026-08-04282319386.0 KB

Get Existing Trends Analysis

Get existing trends analysis results if they exist.

post/ad_analytics/cpg_suite/trends-analysis/get-existing

Request body

metric'total_sales' | 'transaction_count' | 'customer_count' | 'percent_of_total_sales' required

Primary metrics for trends analysis.

aggregate_by_day_of_weekboolean

Aggregate by day of week instead of time periods

Response

Successful Response

selection_1_namestring required

Display name for first selection

selection_2_namestring required

Display name for second selection

metric'total_sales' | 'transaction_count' | 'customer_count' | 'percent_of_total_sales' required

Primary metrics for trends analysis.

time_period'monthly' | 'weekly' | 'daily' | 'day_of_week' required

Time period aggregation for trends analysis.