/api/analytics/v1/searches/products
Returns the popular products for each search term including details such as the total views, total orders that got added to the cart, and the average position of the product when it was ordered.
The start of the time interval to analyze in UTC (inclusive >=)
The end of the time interval to analyze in UTC (exclusive <)
The customer area to target
The device type to filter such as desktop, phone, or tablet. Accepts a comma-separated list. Example: desktop,phone,tablet
The search term to target
The matching strategy for the search term. Possible Values: exact,contains,prefix, or suffix.
The size of the results to return
The output field to sort the results by, must be one of performance or base count fields. For the performance fields, prepend by "performance."Must be one of the following:
- totalViewProducts
- totalAddToCarts
- totalOrders
- avgSearchPosition
The order in which to sort results by, must be either asc (ascending) or desc (descending)