4 hours ago
This guide is for sampling and review-collection partners (for example, sampling networks) who collect reviews from their own members and submit them to PowerReviews on behalf of the brands they work with. It covers the full integration: product data, review submission, testing, and go-live.
It supplements the public reference at apidocs.powerreviews.com (PowerReviews Write API). Where the two differ, this guide reflects how the integration works for partners today.
You submit every review you collect, unfiltered. PowerReviews handles moderation; do not pre-screen or drop negative reviews.
Accounts and submission windows
|
Item |
Scope |
Notes |
|
merchant_id |
One per brand per locale |
Generated by PowerReviews. Every submission and every feed file is tied to one merchant_id. |
|
Write API key |
One per brand per locale |
Different from the Display/Read API key. Using a display key returns 403 Invalid API Key. |
|
SFTP account |
Per partner or per brand, set during setup |
Host sftp.powerreviews.com, port 22. Credentials are shared through a secure channel, not email. |
|
Test merchant and products |
Shared during setup |
Implementation provides a test merchant_id, API key, and dummy page_ids (for example abc, def, ghi) with a matching test feed. |
Base URL: https://writeservices.powerreviews.com. All calls must use HTTPS; plain HTTP returns 405.
Test reviews auto-publish. Reviews submitted to the test merchant display once the API refreshes, so use clearly labeled test content.
PowerReviews needs product data before reviews for that product can be attributed and syndicated. Send the feed before the campaign starts collecting reviews.
File rules
Key fields
|
Field |
Required |
Limit |
Guidance |
|
page_id |
Yes |
50 characters |
A stable ID for the parent product. Case-sensitive, no spaces; use letters and numbers (hyphens and underscores are allowed). Must match the page_id you send on review submission exactly. It depends on the account. For a brand account set up for your campaigns, it can be your own internal ID, and the UPC links it to the brand’s products. For a brand that is already a PowerReviews customer, reviews go into its existing account, so use the brand’s existing page_ids exactly. Never reuse a page_id for a different product. If a product returns in a later campaign, reuse its original page_id so reviews roll up together. |
|
name |
Yes |
500 characters |
Product name. Encode special characters. Shown on the review form and in moderation. |
|
product_url |
Yes |
650 characters |
Product page URL, no spaces. Used on the review form and in moderation. |
|
image_url |
Yes |
650 characters |
Product image URL, no spaces, at least 350 pixels on one side. Shown on the review form and in moderation. |
|
upc |
Yes |
12 to 14 digits |
12-digit UPC, 13-digit EAN, or 14-digit GTIN. One per row; a product with several UPCs needs a variant row for each. Used to match your product to the brand’s catalog. This is what connects your reviews to the brand’s product pages, so accuracy matters more than any other field. |
|
brand |
Yes |
50 characters |
Must match the brand name exactly as the brand uses it. Needed for syndication. |
|
category |
Optional |
300 characters |
Leave empty if you only have broad groupings. If used, separate levels with > (for example Personal Care > Hair Care). |
|
page_id_variant |
Only for variants |
50 characters |
Your ID or the brand’s existing one (same rule as page_id) for a specific variant (size, scent, flavor). Leave empty on the parent row. UPC can be used as the variant ID if you have no other. |
|
manufacturer_id |
Optional |
None |
Manufacturer model number. Helps manual matching when a UPC is missing or wrong. |
|
price |
Optional |
|
Current price with a decimal point, no currency symbol or commas (for example 12.99). |
|
in_stock |
Optional |
1 character |
1 for in stock, 0 for out of stock. |
|
description |
Optional |
10,000 characters |
Plain text, no HTML or line breaks. Escape double quotes and wrap values with special characters in quotes. Seen only in moderation. |
Use these exact field names as column headers. Save the file as UTF-8 with no byte order mark (BOM). Full specification: Product Feed.
Parents and variants
Submit reviews exactly the way the feed is built. Matching is all or nothing:
Step 1: Get the review template
GET /api/b2b/writereview/review_template?apikey=<write_api_key>&merchant_id=<merchant_id>&page_id=<page_id>
The template returns the form fields for that product, each with its id, key, field_type, answer_type, required flag, and max_length. Field IDs differ by account and product, so read them from the template rather than hardcoding them. You can cache templates per merchant and page_id, but refresh them at least every 6 hours.
Step 2: Submit the review
POST /api/b2b/writereview/submit_review?apikey=<write_api_key>&merchant_id=<merchant_id>&page_id=<page_id>&locale=en_US
Header: Content-Type: application/json. The body holds the review fields (using the IDs from the template) plus the additional fields below. Match the body structure in the SubmitReview reference.
The page_id in the submission must match the page_id in the product feed exactly: character for character, including case, leading zeros, spaces, and punctuation. PowerReviews does not normalize or fuzzy-match IDs. A mismatch returns product_id: -1, and the review is not attributed to the product.
Include “page_id_variant” in the submission URL whenever the feed has no variant-free parent row for that product (see Parents and variants).
Standard review fields
|
Field |
Required |
Rules |
|
rating |
Yes |
Whole number 1 to 5. |
|
headline |
Yes |
Max 60 characters. |
|
comments |
Yes |
Max 2,000 characters. |
|
nickname |
Yes |
Max 40 characters. First name or nickname only. A full name is flagged as PII and the review is rejected in moderation. |
|
location |
Yes |
Max 40 characters. City and state only. A street address is flagged as PII and rejected. |
|
bottomline |
Optional |
Recommend to a friend. Yes = 78175, No = 78176. |
|
|
Optional |
Reviewer’s email. |
Limits can vary by account. The template’s max_length and required values are the source of truth.
Additional body fields
|
Field |
Required |
Rules |
|
disclosure_code |
Yes for sampling |
Always sampling. Send it in the JSON body, not the query string. A query-string value is not applied. This adds the sampling disclosure to the published review. |
|
iovation_black_box |
Yes |
Device fingerprint from the iovation script on your review page (ioGetBlackbox().blackbox). Required for fraud detection and syndication, so implement it on every review page. If a reviewer’s browser blocks the script, still submit the review without the field. It is accepted but may not syndicate. Tell Implementation if a high share of reviews are missing it. |
|
ip_address |
Yes |
The reviewer’s IP address, not your server’s. Used for fraud detection and syndication. |
|
source |
Yes |
Always web. |
A successful submission returns 200. A validation failure returns 400 with only the failing fields, each with an error_message (for example RequiredField or RestrictedWord).
context_information.product_id
Common status codes
|
Code |
Meaning |
What to do |
|
400 MissingParameter / Invalid Parameter |
A parameter is missing or wrong |
Check the message for the parameter name. |
|
400 UnrecognizedField |
A body key is not in the template |
Re-fetch the template; do not hardcode fields. |
|
400 ValidationFailure |
A field failed validation |
Fix the fields returned in the response. |
|
400 ReviewAlreadySubmitted |
Duplicate review |
Do not retry. |
|
401 MerchantNotEnabled |
Merchant not set up for the Write API |
Contact Implementation. |
|
403 Invalid API Key |
Wrong key or a display API key |
Use the brand’s Write API key. |
|
405 |
Request was not HTTPS |
Use HTTPS. |
|
415 |
Body is not JSON |
Set the JSON content type. |
|
5xx |
Server error |
Retry with backoff. |
Technical questions and troubleshooting during setup go to your assigned Technical Implementation Consultant. Program and commercial questions go to your Syndigo partnership contact.