PowerReviews
App · 12 actions
Read product reviews and questions, and send reviews, answers and responses to PowerReviews.
Actions
| Action | What it does |
|---|---|
| Get display settings | Get the merchant's review display settings and text for a locale. |
| Get product rating summaries | Get the average rating and review count of one or more products. |
| Get review form | Get the questions a product's write-a-review form asks, with each field's key. |
| List answers | List the published answers to a question. |
| List product questions | List the published questions about one product. |
| List product reviews | List a product's published reviews and its rating summary. |
| List questions | List the published questions about every product, asked since a date. |
| List reviews | List the published reviews of every product, written or changed since a date. |
| Respond to review | Post your brand's public response under a review. |
| Submit answer | Answer a published question about a product. |
| Submit question | Send a customer's question about a product. |
| Submit review | Send a customer's review of a product. |
Get display settings
Get the merchant's review display settings and text for a locale.
Inputs
- Locale
localetext - The language and country of the content, such as en_US or fr_FR. Leave empty for en_US.Default:
en_US.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"features": {},
"localizations": {},
"properties": {}
}
}Get product rating summaries
Get the average rating and review count of one or more products.
Inputs
- Locale
localetext - The language and country of the content, such as en_US or fr_FR. Leave empty for en_US.Default:
en_US. - Product page IDs
page_idslistRequired - The products' page IDs.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"name": "example",
"paging": {
"current_page_number": 1,
"next_page_url": "example",
"page_size": 1,
"pages_total": 1,
"total_results": 1
},
"results": [
{}
]
}
}Get review form
Get the questions a product's write-a-review form asks, with each field's key.
Inputs
- Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Variant ID
page_id_varianttext - The product variant's ID, such as a size or color, if reviews are kept per variant.
- Locale
localetext - The language and country, such as en_US. Leave empty for the merchant's own.
- Reviewer email
merchant_user_emailtext - The reviewer's email address, if you know it.
- Order ID
order_idtext - The order the product was bought in.
- Your review ID
unique_review_idtext - Your own ID for the review, so PowerReviews can spot a second copy.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"context_information": {
"image_template_id": 1,
"product_id": 1,
"product_template_id": 1
},
"fields": [
{
"choices": [
{}
],
"field_type": "example",
"helper_text": "example",
"id": "example",
"input_type": "example",
"key": "example",
"label": "example",
"required": true
}
],
"started_timestamp": "example"
}
}List answers
List the published answers to a question.
Inputs
- Locale
localetext - The language and country of the content, such as en_US or fr_FR. Leave empty for en_US.Default:
en_US. - Question ID
question_idtextRequired - The question's ID.
- Results per page
page_sizenumber - How many to read, from 1 to 25. Leave empty for the default.From 1 to 25.
- Skip
offsetnumber - How many to skip, to read the next page: 25 for the second page of 25.From 0 to 9975.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"name": "example",
"paging": {
"current_page_number": 1,
"next_page_url": "example",
"page_size": 1,
"pages_total": 1,
"total_results": 1
},
"results": [
{}
]
}
}List product questions
List the published questions about one product.
Inputs
- Locale
localetext - The language and country of the content, such as en_US or fr_FR. Leave empty for en_US.Default:
en_US. - Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Sort by
sorttext - How to order the questions.One of:
Newest,Oldest,MostAnswers. - Results per page
page_sizenumber - How many to read, from 1 to 25. Leave empty for the default.From 1 to 25.
- Skip
offsetnumber - How many to skip, to read the next page: 25 for the second page of 25.From 0 to 9975.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"name": "example",
"paging": {
"current_page_number": 1,
"next_page_url": "example",
"page_size": 1,
"pages_total": 1,
"total_results": 1
},
"results": [
{}
]
}
}List product reviews
List a product's published reviews and its rating summary.
Inputs
- Locale
localetext - The language and country of the content, such as en_US or fr_FR. Leave empty for en_US.Default:
en_US. - Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Sort by
sorttext - How to order the reviews.One of:
Newest,Oldest,HighestRating,LowestRating,MostHelpful. - With photos only
image_onlytrue/false - Only reviews with photos.
- Results per page
page_sizenumber - How many to read, from 1 to 25. Leave empty for the default.From 1 to 25.
- Skip
offsetnumber - How many to skip, to read the next page: 25 for the second page of 25.From 0 to 9975.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"name": "example",
"paging": {
"current_page_number": 1,
"next_page_url": "example",
"page_size": 1,
"pages_total": 1,
"total_results": 1
},
"results": [
{
"page_id": "example",
"reviews": [
{
"badges": {
"is_staff_reviewer": true,
"is_verified_buyer": true,
"is_verified_reviewer": true
},
"details": {
"comments": "example",
"created_date": 1,
"headline": "example",
"locale": "example",
"location": "example",
"nickname": "example",
"product_name": "example",
"product_page_id": "example",
"updated_date": 1
},
"internal_review_id": 1,
"media": [
{}
],
"metrics": {
"helpful_score": 1,
"helpful_votes": 1,
"not_helpful_votes": 1,
"rating": 1
},
"review_id": 1,
"ugc_id": 1
}
],
"rollup": {
"average_rating": 1,
"name": "example",
"rating_histogram": [
1
],
"recommended_ratio": 1,
"review_count": 1
}
}
]
}
}List questions
List the published questions about every product, asked since a date.
Inputs
- Since
sincedate and timeRequired - Only questions asked on or after this time.
- Results per page
page_sizenumber - How many to read, from 1 to 25. Leave empty for the default.From 1 to 25.
- Skip
offsetnumber - How many to skip, to read the next page: 25 for the second page of 25.From 0 to 9975.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"name": "example",
"paging": {
"current_page_number": 1,
"next_page_url": "example",
"page_size": 1,
"pages_total": 1,
"total_results": 1
},
"results": [
{}
]
}
}List reviews
List the published reviews of every product, written or changed since a date.
Inputs
- Since
sincedate and timeRequired - Only reviews written (or changed, if you choose) on or after this time.
- Use date changed
by_updated_datetrue/false - Turn on to find reviews by when they were last changed, not when they were written.
- Results per page
page_sizenumber - How many to read, from 1 to 25. Leave empty for the default.From 1 to 25.
- Skip
offsetnumber - How many to skip, to read the next page: 25 for the second page of 25.From 0 to 9975.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"name": "example",
"paging": {
"current_page_number": 1,
"next_page_url": "example",
"page_size": 1,
"pages_total": 1,
"total_results": 1
},
"results": [
{
"page_id": "example",
"reviews": [
{
"badges": {
"is_staff_reviewer": true,
"is_verified_buyer": true,
"is_verified_reviewer": true
},
"details": {
"comments": "example",
"created_date": 1,
"headline": "example",
"locale": "example",
"location": "example",
"nickname": "example",
"product_name": "example",
"product_page_id": "example",
"updated_date": 1
},
"internal_review_id": 1,
"media": [
{}
],
"metrics": {
"helpful_score": 1,
"helpful_votes": 1,
"not_helpful_votes": 1,
"rating": 1
},
"review_id": 1,
"ugc_id": 1
}
],
"rollup": {
"average_rating": 1,
"name": "example",
"rating_histogram": [
1
],
"recommended_ratio": 1,
"review_count": 1
}
}
]
}
}Respond to review
Post your brand's public response under a review.
Inputs
- Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Variant ID
page_id_varianttext - The product variant's ID, such as a size or color, if reviews are kept per variant.
- Locale
localetext - The language and country, such as en_US. Leave empty for the merchant's own.
- Review ID
review_idnumberRequired - The review's ID (its ugc_id in List reviews).At least 1.
- Response
texttextRequired - Your response.
- Name
author_nametext - The name to show for the person.
- Email
author_emailtext - The person's email address.
- Location
author_locationtext - Where the person is, such as Chicago, IL.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"error_code": "example",
"message": "example",
"status_code": "example"
}
}Submit answer
Answer a published question about a product. It waits for moderation before it is published.
Inputs
- Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Variant ID
page_id_varianttext - The product variant's ID, such as a size or color, if reviews are kept per variant.
- Locale
localetext - The language and country, such as en_US. Leave empty for the merchant's own.
- Question ID
question_idnumberRequired - The question's ID, from List product questions.At least 1.
- Answer
answer_texttextRequired - The answer.
- Name
author_nametext - The name to show for the person.
- Email
author_emailtext - The person's email address.
- Location
author_locationtext - Where the person is, such as Chicago, IL.
- From an expert
is_experttrue/false - Mark the answer as from an expert, such as your own staff.
- Verified buyer
is_verified_buyertrue/false - Mark the person as a verified buyer.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"answer_data": {
"answer_text": "example",
"author_email": "example",
"author_location": "example",
"author_name": "example",
"is_expert": true,
"is_verified_buyer": true,
"question_id": 1
},
"question_data": {
"author_email": "example",
"author_location": "example",
"author_name": "example",
"merchant_question_id": "example",
"question_text": "example",
"question_type": "example"
}
}
}Submit question
Send a customer's question about a product. It waits for moderation before it is published.
Inputs
- Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Variant ID
page_id_varianttext - The product variant's ID, such as a size or color, if reviews are kept per variant.
- Locale
localetext - The language and country, such as en_US. Leave empty for the merchant's own.
- Question
question_texttextRequired - The question.
- Name
author_nametext - The name to show for the person.
- Email
author_emailtext - The person's email address.
- Location
author_locationtext - Where the person is, such as Chicago, IL.
- Your question ID
merchant_question_idtext - Your own ID for the question.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"product_information": {},
"question_data": {
"author_email": "example",
"author_location": "example",
"author_name": "example",
"merchant_question_id": "example",
"question_text": "example",
"question_type": "example"
}
}
}Submit review
Send a customer's review of a product. It waits for moderation in PowerReviews before it is published.
Inputs
- Product page ID
page_idtextRequired - The product's page ID in PowerReviews (usually your product ID or SKU).
- Variant ID
page_id_varianttext - The product variant's ID, such as a size or color, if reviews are kept per variant.
- Locale
localetext - The language and country, such as en_US. Leave empty for the merchant's own.
- Reviewer email
merchant_user_emailtext - The reviewer's email address.
- Order ID
order_idtext - The order the product was bought in.
- Your review ID
unique_review_idtext - Your own ID for the review, so PowerReviews can spot a second copy.
- Rating
ratingnumberRequired - The star rating, from 1 to 5.From 1 to 5.
- Headline
headlinetextRequired - The review's title.
- Review
commentstextRequired - The review itself.
- Nickname
nicknametextRequired - The name to show for the reviewer.
- Location
locationtext - Where the reviewer is, such as Chicago, IL.
- Email
emailtext - The reviewer's email address, for forms that ask for it.
- Other answers
other_answersobject - Answers to the form's other questions, by each field's key from Get review form, such as {"bottomline": "Yes"}.
Outputs
dataobject- The response from PowerReviews.
Example output
{
"data": {
"context_information": {
"image_template_id": 1,
"product_id": 1,
"product_template_id": 1
},
"fields": [
{
"choices": [
{}
],
"field_type": "example",
"helper_text": "example",
"id": "example",
"input_type": "example",
"key": "example",
"label": "example",
"required": true
}
],
"started_timestamp": "example"
}
}