younifyd
Menu

V1 Retrieve Bottom Line Total Reviews And Average Score For All Products Old

Retrieve bottom line (total reviews and average score) for all products (old)

GET/v1/apps/{app_key}/bottom_lines?count=5&page=5

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the V1 Retrieve Bottom Line Total Reviews And Average Score For All Products Old action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{v1RetrieveBottomLineTotalReviewsAndAverageScoreForAllProductsOld.response.data}}.

Request

Path parameters

app_keystringrequired

The store ID

Query parameters

countinteger (int32)required

The amount of bottom lines to return per page. Maximum 100 per page.

pageinteger (int32)required

The page number of the paginated response.

since_idstring

Minimum ID of the returned reviews.

Response

Returns 200 with an object. Read it in later steps with {{v1RetrieveBottomLineTotalReviewsAndAverageScoreForAllProductsOld.response.data.<field>}}.

statusobject
codeinteger

Default 0

messagestring
responseobject
bottomlinesarray<object>3 fields
pagestring
per_pagestring
json
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "response": {
    "bottomlines": [
      {
        "domain_key": "1518844613",
        "product_score": 4.86,
        "total_reviews": 28
      }
    ],
    "page": "5",
    "per_page": "5"
  }
}

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.