Menu
Product Collections
Product collections
POST
/insights/v1/topics/productsUse it in a workflow
- Add a step and choose the Yotpo connector.
- Pick the Product Collections action (under Reviews & Ratings).
- Fill in the fields below, then reference the result from later steps as
{{productCollections.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"app_key": "string",
"start_date": "2025-01-01",
"end_date": "2025-01-01",
"countries": [
"string"
],
"states": [
"string"
],
"product_groups": "string",
"product_collections": [
"string"
],
"minimum_score": 0,
"exclude_unpublished": false,
"external_product_ids": "string",
"sorting_field": "string",
"sorting_direction": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{productCollections.response.data.<field>}}.
{
"product_collections": [
{
"product_collections": "Cool Watches",
"average_star_rating": 4.882443928847641,
"sentiment_score": 85.60082,
"sentiment_change": {
"value": 0.29634076789936614,
"error": ""
},
"positive_reviews": 3418,
"negative_reviews": 77,
"neutral_reviews": 406,
"reviews_count": 3903,
"products_in_collection": [
{
"product_id": "1850285"
}
],
"products_count": 6
}
],
"paging": {
"page": 0,
"page_count": 6,
"per_page": 1,
"total": 6
}
}
Need more? See the Yotpo guide for connection setup and behaviour shared by every action.
Was this page helpful?