Skip to content
One2Five Developer Portal

Knowledge Hub

  • One2Five Platform Overview
  • Concepts
  • Fundamentals
  • Path of a Review
  • Review Verification
  • Authenticity
  • Badges
  • Best Practices
  • One2Five Shopify App
  • One2Five WooCommerce Plugin
  • Additional Resources

API Reference

  • API Introduction
  • Full API Reference
  • Submission
    • Authentication
    • Submit Review
    • Submit Feedback
    • Submit Review Answer
    • Submit Answer
    • Submit Question
    • Submit PIE-feed
    • Submit PIE-feed-interaction
  • Display
    • Fetch Reviews
    • Get Reviews
    • Get Review Answers
    • Display Reviews HTML
    • Get Review Exists
    • Get Questions
  • Home
  • One2Five developer pages
  • Knowledge Hub
  • Additional Resources

Additional Resources

Feeds

Product Feed #

Create an XML product feed

If you want to share your products with One2Five, we recommend sharing them in XML format. The example below demonstrates the general structure for XML product feed.

<?xml version="1.0" encoding="UTF-8"?>
<Feed name="MarketCode" extractDate="2024-10-16T00:53:00.000000" >
  <Brands>
    <Brand>...</Brand>
    ...
  </Brands>
  <Categories>
    <Category>...</Category>
    ...
  </Categories>
  <Products>
    <Product>...</Product>
    ...   </Products> </Feed>

Steps to Create XML Feed

each product in the feed should include the following mandatory tag :

  • Brand
  • Categories
  • Products

You need to use the correct elements and attributes to describe the feed, brand, category, and product information. Please refer to the following tables for the child elements and attributes for the <Feed>, <Brands>, <Categories> and <Products> elements.

Feed Element

This element is required. The following table identifies required attributes for the <Feed> element.

AttributeDescription
nameThe short version of client name .
extractDateA timestamp that should be in format e.g 2024-07-10T12:28:25.000000

Example

<Feed  name="ExampleClient"  extractDate="2016-01-18T12:00:00">

Brands element

ElementValueRequired
BrandRepresents a product brand in your feed, it must contain the following <ExternalId> and <Name> or <Names> child elements.Yes
ExternalIdUnique brand ID that can contain only alphanumeric characters, hyphens (-), and underscores ( _ ).Yes
NameName of brand.Yes
Then, when defining products in the <Products> element, you can use the <BrandExternalId> element to reference a brand’s ID in the <Brands> element.

<Brands>
  <Brand>
    <ExternalId>Brand-external_id</ExternalId>
    <Name>Brand name</Name>
  </Brand>
</Brands>

Categories Element

The <Categories> element specifies each category represented by products in your feed using the child elements listed below. It can also define a category hierarchy. This element is mandatory.

ElementValueRequired
CategoryRepresents a product category in your feed and may include other elements listed in this table. You can include the removed="true" attribute in the <Category> element to mark the category as inactive.Yes
ExternalIdUnique category or subcategory ID that can contain only alphanumeric characters, hyphens (-), and underscores (_). If a category ID contains an invalid character, replace it with an alternate character, such as an underscore. This format is used in the data feed only and does not affect end users. The ID is case insensitive, so you cannot use IDs that match except for case. Ensure that the category ID is stable and will not change, even if the name of the category changes.Yes
NameName of the category or subcategory, which is visible to end users. If specifying localized categories in a multilingual implementation, include a <Name> element for each locale in a parent <Names> element, and then specify the locale attribute (of type String) for each <Name> child elementYes
CategoryPageUrlUnique URL for the category or subcategory. When specifying a URL, be aware of the following:
• Do not include extraneous query string parameters that you might use for tracking and partnership codes.
• If the URL contains a reserved (special) character, you must URL-encode the character. For example, use &amp; for an ampersand, %20 for a space, or %5B and %5D for square brackets ([ ]).
• If specifying localized categories in a multilingual implementation, include a <CategoryPageUrl> element for each locale in a parent <CategoryPageUrls> element, and then specify the locale attribute (of type String) for each <CategoryPageUrl> child element.
Yes

Example

<Categories>
  <Category>
    <ExternalId>1010</ExternalId>
    <Name>First Category</Name>
    <!-- Default category page URL -->
    <CategoryPageUrl>
      http://www.example.com/category.htm?cat=1010
    </CategoryPageUrl>
</Category>
  <Category>
    <ExternalId>1010</ExternalId>
    <Name>First Category</Name>
    <!-- Default category page URL -->
    <CategoryPageUrl>
      http://www.example.com/category.htm?cat=1010
    </CategoryPageUrl>
</Category>
</Categories>

Products Element

The <Products> element defines each product in your feed using the child elements listed below. This element is mandatory. For a complete list of available elements, refer to the product feed schema.

ElementValueRequired
ProductRepresents a product in your feed and may include other elements listed in this table. You can include the removed="true" attribute in the <Product> element to mark the product as inactive. If the product does not exist in the database and is marked inactive, it will not be added to the database.Yes
ExternalIdUnique product ID that can contain only alphanumeric characters, hyphens (-), and underscores (_). If the external product ID contains an invalid character, replace it with an alternate character, such as an underscore. This ID is case-insensitive and is not visible to end users.Yes, one for each product
NameThe name or names of the product visible to end users. Yes, one for each locale
DescriptionThe product description. One2Five recommends that product descriptions be at least three sentences or 300 characters long.Yes, one for each locale
BrandThe name of the brand to which the product belongs. You must include a <Name> child element to specify the brand name.
Note: Specify either <Brand> or <BrandExternalId> in the <Product> element, but do not specify both.
Yes, one per product if <BrandExternalId> is not provided
BrandExternalIdThe ID of the brand to which the product belongs. Specify this element if a brand is declared as a separate element in the <Brands> block. The value of <BrandExternalId> must match a brand ID defined in the <Brands> block. If the <Brands> block is not defined in the product feed, use <Brand> instead.
Yes
CategoryExternalIdSpecify this element if a category is declared as a separate element in the <Categories> block. The value of <CategoryExternalId> must match a category ID defined in the <Categories> block.Yes
ProductPageUrlA unique, uncorrupted URL for a product page.Yes
ImageUrlA unique URL for the product image. The optimal display size is 600 x 600 pixels. If the URL contains a reserved character, URL-encode the character. Yes
ManufacturerPartNumbersManufacturer-specific part number. Specify a <ManufacturerPartNumber> child element for each part number you want to define. Part numbers can contain letters, numerals, and characters.Yes
EANsEuropean Article Numbers (EANs) used worldwide for marking retail goods. Specify an <EAN> child element for each EAN you want to define, which must be a string of eight numerals or 13 numerals (no letters or other characters allowed). Remove spaces and hyphens because they disrupt syndication matching. No
AttributesCustom attributes that enable you to define additional product-specific information, to report on product-specific information or to support product families. Specify an <Attribute> child element for each product attribute you want to define. Be sure to include the name of the product attribute using the id attribute of the <Attribute> element; spaces are not permitted in the attribute ID.Yes

Example

<Products>
  <Product>
    <ExternalId>11111111111abc</ExternalId>
    <Name>First Product Round with Green</Name>
    <Description>First Product Description Text</Description>
    <CategoryExternalId>CategoryExternalId</CategoryExternalId>
    <ProductPageUrl>
      http://www.example.com/product.htm?prod=2000001
    </ProductPageUrl>
    <BrandExternalId>BrandExternalId</BrandExternalId>
    <ImageUrl>
      http://images.example.com/prodimages/2000001.gif
    </ImageUrl>
    <!-- Product details needed for syndication -->
    <ManufacturerPartNumbers>
      <ManufacturerPartNumber>26-12345-8Z</ManufacturerPartNumber>
    </ManufacturerPartNumbers>
    <EANs>
      <EAN>0188173724031</EAN>
    </EANs>
    <!-- Custom product attributes -->
    <Attributes>
      <Attribute id="StarProduct">
        <Value>L</Value>
      </Attribute>
  </Attributes>
  </Product>
</Products>

Client Review Feed #

To import ratings, reviews, questions, and answers collected before implementing One2Five Ratings & Reviews on your website, you can upload a native content import feed to One2Five. This feed is an XML document detailing the products and user-generated content (UGC) collected by your in-house solution or a third-party provider. If you cannot create an import feed in the required format, One2Five may offer a data conversion service for a fee.

One2Five first imports the feed into your staging environment to ensure proper display. Once you approve the content in staging, One2Five transfers the content to production. This process may take up to two weeks to complete.

Below are examples illustrating the general structure of a simplified native content import feed:

XML Snippet
<Feed name="ExampleClient" extractDate="2024-10-13T08:19:50.675483780Z">
    <Product disabled="false" removed="false" id="L87695WD2">
        <Reviews></Reviews>
        <ImageUrl>Product Image Url</ImageUrl>
        <Name>Product Ext Id</Name>
        <ExternalId>Product Ext Id</ExternalId>
        <Description>Product Description</Description>
        <Brand disabled="false"></Brand>
        <Source>Source Tag</Source>
        <ProductPageUrl>Product Page Url</ProductPageUrl>
        <NativeReviewStatistics></NativeReviewStatistics>
        <NumAnswers>0</NumAnswers>
        <NumNativeAnswers>0</NumNativeAnswers>
        <NumNativeQuestions>0</NumNativeQuestions>
        <NumReviews>1</NumReviews>
        <NumQuestions>0</NumQuestions>
        <NumStories>0</NumStories>
        <ReviewStatistics></ReviewStatistics>
        <CategoryItems></CategoryItems>
        <EANs></EANs>
        <ManufacturerPartNumbers></ManufacturerPartNumbers>
    </Product>
</Feed>

Create Review Feed

Before you display the content on your website, you need to create a review feed file and share it with One2Five to import this content.

before sharing this content make sure that you exclude the reviews with zero ratings as it will negatively impact the overall average rating of the product.

  • Ensure the first line of the feed as given below:
       <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  • if you do not have any values for the field you can skip the field itself, don’t include a field with empty values.
  • You must use the specific elements and attributes to describe products and information. Refer to the following tables for child elements and attributes for the <Feed>, <Product>, <Reviews> and <ReviewStatistics>  elements.

Feed element

The following table identifies the required attributes for the <Feed> element.

AttributeDescriptionRequired
nameThe short version of ClientYes
extractDateA timestamp eg format “2024-07-10T07:42:41.118Z”Yes
Example
<Feed name="client_name" extractDate="2024-07-10T07:42:41.118Z">

Product element

The <Product> element specifies a product in your feed and may be included <Reviews> as child elements. You can add multiple <Product> elements to your feed, each representing a different product.

This element should have the following:

  • id attribute—Its value must match the product’s ExternalId value in Product Feed
  • <ExternalId> child element—Its value must match the id attribute’s value.
ElementValueRequired
CategoryId“Category ID” is a unique identifier assigned to a specific category of products, allowing the platform to organize and classify reviews and other user-generated content according to product types or categoriesYes
ProductIdThe Product ID links all user-generated content (reviews, images, etc.) to a specific product, ensuring that only relevant information is displayed on the correct product page.Yes
ExternalIdExternalId (also called an “External Product ID”) is a unique identifier assigned by the brand or retailer to represent a specific product within their own catalog or system.Yes
ReviewsReviews are pieces of user-generated content (UGC) where customers share their experiences, opinions, and feedback about a product.Yes
ImageUrlA unique URL for the product image. The optimal display size is 600 x 600 pixels. If the URL contains a reserved character, URL-encode the character.Optional
ManufacturerPartNumbersManufacturer-specific part number. Specify a <ManufacturerPartNumber> child element for each part number you want to define. Part numbers can contain letters, numerals, and characters.
Optional
EANsEuropean Article Numbers (EANs) used worldwide for marking retail goods. Specify an <EAN> child element for each EAN you want to define, which must be a string of eight numerals or 13 numerals (no letters or other characters allowed). Remove spaces and hyphens because they disrupt syndication matching.Optional
NameThe name or names of the product visible to end users.Optional
ExternalIdUnique product ID that can contain only alphanumeric characters, hyphens (-), and underscores (_). If the external product ID contains an invalid character, replace it with an alternate character, such as an underscore. This ID is case-insensitive and is not visible to end users.Optional
DescriptionThe product description. One2Five recommends that product descriptions be at least three sentences or 300 characters long.Optional
BrandThe name of the brand to which the product belongs. You must include a <Name> child element to specify the brand name.
Note: Specify either <Brand> or <BrandExternalId> in the <Product> element, but do not specify both.
Optional
SourceSource field in a client review feed provides metadata about the origin or method of collection for each reviewOptional
ProductPageUrlA unique, uncorrupted URL for a product page.Optional
NativeReviewStatisticsNativeReviewStatistics in the client review feed serves several important purposes, all aimed at providing brands and retailers with valuable insights and metrics regarding the reviews submitted directly on their platformsOptional
NumAnswersContains number of total AnswersOptional
NumNativeAnswersNumNativeAnswers refers to the total number of answers provided to customer questions associated with a specific product or review.Optional
NumReviewsContains the number of total ReviewsOptional
ReviewStatisticsReviewStatistics component of the client review feed provides a summary of key metrics related to customer reviews for a specific product.Optional
CategoryItemsCategoryItems in the review client feed refers to the specific categories or classifications associated with a product.Optional
Example XML Snippet

Example

    <Product disabled="false" removed="false" id="L87695WD2">
        <Reviews></Reviews>
        <ImageUrl>Product Image Url</ImageUrl>
        <Name>Product Ext Id</Name>
        <ExternalId>Product Ext Id</ExternalId>
        <Description>Product Description</Description>
        <Brand disabled="false"></Brand>
        <Source>Source Tag</Source>
        <ProductPageUrl>Product Page Url</ProductPageUrl>
        <NativeReviewStatistics></NativeReviewStatistics>
        <NumAnswers>0</NumAnswers>
        <NumNativeAnswers>0</NumNativeAnswers>
        <NumNativeQuestions>0</NumNativeQuestions>
        <NumReviews>1</NumReviews>
        <NumQuestions>0</NumQuestions>
        <NumStories>0</NumStories>
        <ReviewStatistics></ReviewStatistics>
        <CategoryItems></CategoryItems>
        <EANs></EANs>
        <ManufacturerPartNumbers></ManufacturerPartNumbers>
    </Product>

Reviews and Review elements

This element includes <Review> child elements, each representing a piece of content you want to import and display alongside your product. Each <Review> element must include a unique id attribute (integer). Then, specify child elements within each <Review> element. The following table lists the most common elements.

ElementValueRequired
ReviewIdThe Review ID uniquely identifies each customer review for a product.Yes
ModerationStatusThis has information about the moderated status of the review, values are APPROVED or REJECTED.Yes
UserProfileReferenceThis element contains information about the profile.
The following child elements should be present for each <UserProfileReference> element.

1) <ExternalId> Identifier of the user. The user ID cannot include spaces or special characters, and it should never include an email address or other personally identifiable information (PII), unless it is hashed to obfuscate the data. This element is required.

2) <DisplayName> Name of the reviewer that is displayed with their content. Must be unique across all users specified in the feed, unless duplicate nicknames are allowed. This element is required if an existing client wants to import content

3) <Anonymous> Whether the user wants to stay anonymous. If set to true, most of the information and fields are not seen. This element is required.

4) <HyperlinkingEnabled> Indicates if a user’s answers are automatically parsed for hyperlinks. Set this to false if you are unsure. This element is required.
Yes
CampaignIdRepresents the ID of the campaign associated with the review.No
ContentCodesHolds any content codes related to the review.No
DisplayLocaleLocale from which the review was submitted. This element is required if you are importing content from different locales or languages.Optional
FirstPublishTimeThe timestamp of when the review was first published.Optional
LastModificationTimeThe timestamp of the last modification made to the review.Optional
LastPublishTimeThe timestamp of the last time the review was published.Optional
NetPromoterCommentA comment related to the Net Promoter Score (NPS) feedback.Optional
NetPromoterScoreThe score given by the user for NPS.Optional
NumCommentsThe number of comments associated with the review.Optional
OriginatingDisplayCodeThe display code from which the review originated.Optional
ProductReviewsDeepLinkedUrlA deep link URL to the product reviews.Optional
ProductReviewsUrlThe URL linking to product reviews.Optional
RatingA rating value chosen by the reviewer (usually this is a reflection of the number of “stars”).Yes
RatingRangeThe maximum rating possible (e.g., 5).Optional
RatingsOnlyIndicates if the review consists of ratings only (true/false).Optional
RecommendedWhether review is marked with the “Recommended” flag. This means that during review submission, the user confirmed that they will recommend this product to a friend.Optional
ReviewerLocationThe location of the reviewer.Optional
ReviewerNicknameThe nickname of the reviewer.Optional
SendEmailAlertWhenCommentedIndicates if an email alert should be sent when commented on (true/false).Optional
SendEmailAlertWhenCommentedOptOutURLURL to opt out of email alerts when commented on.Optional
SendEmailAlertWhenPublishedIndicates if an email alert should be sent when published (true/false).Optional
TitleReview title in a form specified by its author.Yes
ReviewTextFull text of the review in a form specified by its author.Yes
UserEmailAddressThe user’s email address. This element is optional, but it is a best practice to include it.Optional
SubmissionTimeThe time when the review was submitted by its authorYes
FeaturedWhether this content is especially interesting and well written. This value is assigned during moderation. This element is required.Optional
NumFeedbacksNumber of any feedback entries on a given review (positive + negative).Optional
NumPositiveFeedbacksNumber of positive feedback entries on a given review.Optional
NumNegativeFeedbacksNumber of negative feedback entries on a given review.Optional
NumInappropriateFeedbacksNumber of times customers reported that this review has inappropriate or irrelevant content.Optional
AdditionalFields and  AdditionalField
Each <AdditionalField> element must specify the id attribute and its value. Then, for each <AdditionalField> element, specify these child elements:
<DisplayLabel>
<Value>
Optional
RatingValues and  RatingValueA list of secondary ratings for different dimensions or product qualities. Specify this element and its child elements if you want to display an additional (secondary) rating for a product. For each <RatingValue> element, specify these child elements:
<Rating> A score chosen by the user for a specific dimension. This is required.
Type: Int (int(11))
<RatingDimension>Specifies information about alternative characteristics, such as the ease of use, price, material, or comfort. This is required.
The following attributes are required for this element:
displayType, which indicates the type of tool used to provide the rating value, such as NORMAL, SLIDER, or RADIO.
id, which must match the <ExternalId>.
selectedValueInDisplayEnabled, which indicates whether the value should be shown in display or hidden.
Then, specify these child elements:
<ExternalId>, which is the ID of the value that was rated.
<Label>, which is the customer-facing label of value that was rated.
<RatingRange>, which indicates the maximum value of a secondary rating. Ratings will vary between 1 and this value. The default value is 5, but some clients prefer to have more (or fewer) “maximum stars” for their secondary ratings functionality. This value is configured in the client’s display or submission configuration.
Optional
ClientResponses and ClientResponseA list of client responses from a representative of your company for a consumer comment left on a product. Each <ClientResponse> element should include the following child elements:
<Department>: Identification or location of the physical or online store from which the response is originating. This is recommended if the department of the responding party is available.
Type: String (varchar(255))
<Name>: The name of the person who left a comment from the client’s side. This is recommended if the name of the responding party is available.
Type: String (varchar(255))
<Response>: The text of the response. This field is required.
Type: String (text)
<ResponseSource>: The source from which the response was submitted. This is recommended.
Type: String (varchar(255))
<Date>: The date of submission. Responses and client comments are not moderated.
Type: String (varchar(255))
Optional
Tags and TagDimensionA list of tag dimensions. Specify this element and its child elements if you want to display product tags.
Each <TagDimension> element must include the id attribute, and its value must match the value of the <ExternalId> child element. The value is that of QuestionID, which you noted in “Set up additional ratings, submission form questions, and tags.” For each <TagDimension> element, specify these child elements:
<ExternalId>: Identifier of the tag dimension.
Type: String (varchar(255))
<Label>: The client-facing label for the tag dimension. The value is taken from a client or default display configurations (if any description is available). This is required.
Type: String (varchar(255))
<Tags> and <Tag>: A list of tags. For each <Tag> child element, you must specify the <Label> child element, which explains a tag in the tag dimension. The value is taken from a client or default display configurations (if any description is available). This is required.
Type: String (varchar(255))
Optional
Photos and PhotoA set of photo references with captions left by the reviewer.
Each <Photo> child element must specify the id attribute, and its value must be unique. For each <Photo> element, specify these child elements:
<Caption>: A description of the photo left by the reviewer.
Type: String (text)
<Sizes> and <Size>: A list of images in different sizes (if available). Each <Size> child element must include these attributes:
id: Specifies the ID of the size.
url: Specifies a URL to an image of a certain size. If the URL contains a reserved (special) character, you must URL-encode the character. For example, use &amp; for an ampersand, use %20 for a space, or use %5B and %5D for square brackets ([]).
<Sizes> and <Size> are required.
Optional
VideosContains video attachments associated with the review.Optional
DocumentsContains documents attached to the review.Optional
BadgesRepresents any badges earned by the reviewer (e.g., Verified Purchaser).Optional
AuthenticationTypeSpecifies the type of authentication used for the review submission (e.g., EMAIL).Optional
SyndicationSourceThe source from which the review was syndicated.Optional
CommentsAny comments associated with the review.Optional
ContextDataValues and ContextDataValueA list of dropdown questions that may be included in a review. Specify this element and its child elements if you wish to display information collected via a dropdown question for a product or user.
Each <ContextDataValue> child element must include the id attribute, and its value should correspond to the QuestionID noted in “Set up additional ratings, submission form questions, and tags.” For each <ContextDataValue> element, specify these child elements:
<ContextDataDimension>: A description of what was evaluated. This element must include the id attribute, representing the dimension’s label. This is required.
Then, specify these child elements:
<ExternalId>: Matches the value of the id attribute.
Type: String (varchar(255))
<Label>: The customer-facing label of the dimension.
Type: String (varchar(255))
<ExternalId>: The value chosen by a user (reviewer).
Type: String (varchar(255))
<Label>: The customer-facing label that is displayed. This is required.
Type: String (varchar(255))
Optional
XML Snippet

Example

  <Reviews>
   <Review id="review_id">
    <UserProfileReference id="profile_ext_id">
      <Anonymous>true</Anonymous>
      <DisplayName>display_name</DisplayName>
      <ExternalId>profile_ext_id</ExternalId>
      <HyperLinkingEnabled>false</HyperLinkingEnabled>
    </UserProfileReference>
    <CampaignId></CampaignId></CampaignId>
    <ContentCodes></ContentCodes></ContentCodes>
    <DisplayLocale>DisplayLocale</DisplayLocale>
    <UserEmailAddress></UserEmailAddress></UserEmailAddress>
    <Featured>false</Featured>
    <FirstPublishTime>2018-09-18T02:14:25.529Z</FirstPublishTime>
    <LastModificationTime></LastModificationTime></LastModificationTime>
    <LastPublishTime>2024-10-11T06:02:57.177Z</LastPublishTime>
    <ModerationStatus>Approved</ModerationStatus>
    <NetPromoterComment></NetPromoterComment></NetPromoterComment>
    <NetPromoterScore>0</NetPromoterScore>
    <NumComments>0</NumComments>
    <NumFeedBacks>7</NumFeedBacks>
    <NumNegativeFeedbacks>0</NumNegativeFeedbacks>
    <NumInappropriateFeedbacks>0</NumInappropriateFeedbacks>
    <NumPositiveFeedbacks>7</NumPositiveFeedbacks>
    <OriginatingDisplayCode>OriginatingDisplayCode</OriginatingDisplayCode>
    <ProductReviewsDeepLinkedUrl></ProductReviewsDeepLinkedUrl></ProductReviewsDeepLinkedUrl>
    <ProductReviewsUrl></ProductReviewsUrl></ProductReviewsUrl>
    <Rating>5</Rating>
    <RatingRange>5</RatingRange>
    <RatingsOnly>false</RatingsOnly>
    <Recommended>true</Recommended>
    <ReviewText>ReviewText</ReviewText>
    <ReviewerLocation></ReviewerLocation>
    <ReviewerNickname>ReviewerNickname</ReviewerNickname>
    <SendEmailAlertWhenCommented>false</SendEmailAlertWhenCommented>
    <SendEmailAlertWhenCommentedOptOutURL></SendEmailAlertWhenCommentedOptOutURL>
    <SendEmailAlertWhenPublished>true</SendEmailAlertWhenPublished>
    <SubmissionTime>2018-09-16T16:32:21.256Z</SubmissionTime>
    <Title>Review Title</Title>
    <ContextDataValues>
     <ContextDataValue id="6months">
      <ContextDataDimension id="LengthOfOwnership">
       <ExternalId>LengthOfOwnership</ExternalId>
       <Label>Besitzdauer</Label>
      </ContextDataDimension>
      <ExternalId>6months</ExternalId>
      <Label>6 Monate</Label>
     </ContextDataValue>
     <ContextDataValue id="Male">
      <ContextDataDimension id="Gender">
       <ExternalId>Gender</ExternalId>
       <Label>Geschlecht</Label>
      </ContextDataDimension>
      <ExternalId>Male</ExternalId>
      <Label>Männlich</Label>
     </ContextDataValue>
    </ContextDataValues>
    <RatingValues>
      <RatingValue>
        <Rating>3</Rating>
        <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Design">
            <ExternalId>Design</ExternalId>
            <Label>Design</Label>
            <Label1>Design</Label1>
            <RatingRange>5</RatingRange>
        </RatingDimension>
      </RatingValue>
      <RatingValue>
        <Rating>3</Rating>
        <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Quality">
            <ExternalId>Quality</ExternalId>
            <Label>Quality</Label>
            <Label1>Quality</Label1>
            <RatingRange>5</RatingRange>
        </RatingDimension>
      </RatingValue>
      <RatingValue>
        <Rating>3</Rating>
        <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Features">
            <ExternalId>Features</ExternalId>
            <Label>Features</Label>
            <Label1>Features</Label1>
            <RatingRange>5</RatingRange>
        </RatingDimension>
      </RatingValue>
    </RatingValues>
    <Videos>
     <Video>
      <Caption></Caption>
      <VideoUrl>https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/videos/1682657592125_WMV_Video.wmv</VideoUrl>
     </Video>
    </Videos>
    <Badges>
     <Badge>
      <Name>VerifiedPurchaser</Name>
      <ContentType>Review</ContentType>
     </Badge>
     <Badge>
      <Name>IncentivizedReview</Name>
      <ContentType>Review</ContentType>
     </Badge>
     <Badge>
      <Name>Employee</Name>
      <ContentType>Review</ContentType>
     </Badge>
     <Badge>
      <Name>SweepstakeReview</Name>
      <ContentType>Review</ContentType>
     </Badge>
    </Badges>
    <ClientResponses>
     <ClientResponse>
      <ResponseMarkup>
       <PlainText>PlainText</PlainText>
      </ResponseMarkup>
      <Date>2020-06-05T13:57:53.000Z</Date>
      <Department>Department</Department>
      <Response>Response</Response>
      <ResponseSource>Review Hub</ResponseSource>
      <Name>Name</Name>
     </ClientResponse>
    </ClientResponses>
    <AdditionalFields>
     <AdditionalField id="productid">
      <DisplayLabel>productid</DisplayLabel>
      <Value>914912563</Value>
     </AdditionalField>
     <AdditionalField id="IsPIESubmission">
      <DisplayLabel>IsPIESubmission</DisplayLabel>
      <Value>true</Value>
     </AdditionalField>    
    </AdditionalFields>
    <Photos>
     <Photo>
      <Sizes>
       <Size id="large" url="https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/photos/large_1682655617971_Elextrolux_largelogo.png"/>
       <Size id="thumbnail" url="https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/photos/thumbnail_1682655621282_18788.png"/>
       <Size id="normal" url="https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/photos/normal_1682655621289_18788.png"/>
      </Sizes>
     </Photo>
    </Photos>
    <AuthenticationType>EMAIL</AuthenticationType>
    <SyndicationSource>
     <ClientId></ClientId>
     <LogoImageUrl>LogoImageUrl</LogoImageUrl>
     <ContentLink></ContentLink>
     <Name>Name</Name>
    </SyndicationSource>
    <Comments>
     <Comment id="228708">
      <UserProfileReference id="920269">
       <Anonymous>true</Anonymous>
       <DisplayName>DisplayName</DisplayName>
       <ExternalId>ExternalId</ExternalId>
       <HyperLinkingEnabled>false</HyperLinkingEnabled>
      </UserProfileReference>
      <DisplayLocale>DisplayLocale</DisplayLocale>
      <LastModificationTime>2019-10-21T08:22:44.000+00:00</LastModificationTime>
      <ModerationStatus>APPROVED</ModerationStatus>
      <SubmissionTime>2015-01-09T04:29:31.000+00:00</SubmissionTime>
      <CommentText>CommentText</CommentText>
      <Badges/>
      <Photos/>
      <Videos/>
      <Documents/>
     </Comment>
    </Comments>
    <Documents>
     <Document id="10283">
      <DocumentUrl>https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/documents/1680237622170_sample.pdf</DocumentUrl>
      <Caption>test document attachment for answer 5</Caption>
     </Document>
    </Documents>
   </Review>
  </Reviews>

XML Snippet

Full Feed Example

<?xml version="1.0" encoding="UTF-8"?>
<Feed name="ExampleClient" extractDate="2016-02-12T05:17:33.945-06:00">
 <Product id="1010">
  <Reviews>
   <Review id="review_id">
    <UserProfileReference id="profile_ext_id">
      <Anonymous>true</Anonymous>
      <DisplayName>display_name</DisplayName>
      <ExternalId>profile_ext_id</ExternalId>
      <HyperLinkingEnabled>false</HyperLinkingEnabled>
    </UserProfileReference>
    <CampaignId></CampaignId></CampaignId>
    <ContentCodes></ContentCodes></ContentCodes>
    <DisplayLocale>DisplayLocale</DisplayLocale>
    <UserEmailAddress></UserEmailAddress></UserEmailAddress>
    <Featured>false</Featured>
    <FirstPublishTime>2018-09-18T02:14:25.529Z</FirstPublishTime>
    <LastModificationTime></LastModificationTime></LastModificationTime>
    <LastPublishTime>2024-10-11T06:02:57.177Z</LastPublishTime>
    <ModerationStatus>Approved</ModerationStatus>
    <NetPromoterComment></NetPromoterComment></NetPromoterComment>
    <NetPromoterScore>0</NetPromoterScore>
    <NumComments>0</NumComments>
    <NumFeedBacks>7</NumFeedBacks>
    <NumNegativeFeedbacks>0</NumNegativeFeedbacks>
    <NumInappropriateFeedbacks>0</NumInappropriateFeedbacks>
    <NumPositiveFeedbacks>7</NumPositiveFeedbacks>
    <OriginatingDisplayCode>OriginatingDisplayCode</OriginatingDisplayCode>
    <ProductReviewsDeepLinkedUrl></ProductReviewsDeepLinkedUrl></ProductReviewsDeepLinkedUrl>
    <ProductReviewsUrl></ProductReviewsUrl></ProductReviewsUrl>
    <Rating>5</Rating>
    <RatingRange>5</RatingRange>
    <RatingsOnly>false</RatingsOnly>
    <Recommended>true</Recommended>
    <ReviewText>ReviewText</ReviewText>
    <ReviewerLocation></ReviewerLocation>
    <ReviewerNickname>ReviewerNickname</ReviewerNickname>
    <SendEmailAlertWhenCommented>false</SendEmailAlertWhenCommented>
    <SendEmailAlertWhenCommentedOptOutURL></SendEmailAlertWhenCommentedOptOutURL>
    <SendEmailAlertWhenPublished>true</SendEmailAlertWhenPublished>
    <SubmissionTime>2018-09-16T16:32:21.256Z</SubmissionTime>
    <Title>Review Title</Title>
    <ContextDataValues>
     <ContextDataValue id="6months">
      <ContextDataDimension id="LengthOfOwnership">
       <ExternalId>LengthOfOwnership</ExternalId>
       <Label>Besitzdauer</Label>
      </ContextDataDimension>
      <ExternalId>6months</ExternalId>
      <Label>6 Monate</Label>
     </ContextDataValue>
     <ContextDataValue id="Male">
      <ContextDataDimension id="Gender">
       <ExternalId>Gender</ExternalId>
       <Label>Geschlecht</Label>
      </ContextDataDimension>
      <ExternalId>Male</ExternalId>
      <Label>Männlich</Label>
     </ContextDataValue>
    </ContextDataValues>
    <RatingValues>
      <RatingValue>
        <Rating>3</Rating>
        <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Design">
            <ExternalId>Design</ExternalId>
            <Label>Design</Label>
            <Label1>Design</Label1>
            <RatingRange>5</RatingRange>
        </RatingDimension>
      </RatingValue>
      <RatingValue>
        <Rating>3</Rating>
        <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Quality">
            <ExternalId>Quality</ExternalId>
            <Label>Quality</Label>
            <Label1>Quality</Label1>
            <RatingRange>5</RatingRange>
        </RatingDimension>
      </RatingValue>
      <RatingValue>
        <Rating>3</Rating>
        <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Features">
            <ExternalId>Features</ExternalId>
            <Label>Features</Label>
            <Label1>Features</Label1>
            <RatingRange>5</RatingRange>
        </RatingDimension>
      </RatingValue>
    </RatingValues>
    <Videos>
     <Video>
      <Caption></Caption>
      <VideoUrl>https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/videos/1682657592125_WMV_Video.wmv</VideoUrl>
     </Video>
    </Videos>
    <Badges>
     <Badge>
      <Name>VerifiedPurchaser</Name>
      <ContentType>Review</ContentType>
     </Badge>
     <Badge>
      <Name>IncentivizedReview</Name>
      <ContentType>Review</ContentType>
     </Badge>
     <Badge>
      <Name>Employee</Name>
      <ContentType>Review</ContentType>
     </Badge>
     <Badge>
      <Name>SweepstakeReview</Name>
      <ContentType>Review</ContentType>
     </Badge>
    </Badges>
    <ClientResponses>
     <ClientResponse>
      <ResponseMarkup>
       <PlainText>PlainText</PlainText>
      </ResponseMarkup>
      <Date>2020-06-05T13:57:53.000Z</Date>
      <Department>Department</Department>
      <Response>Response</Response>
      <ResponseSource>Review Hub</ResponseSource>
      <Name>Name</Name>
     </ClientResponse>
    </ClientResponses>
    <AdditionalFields>
     <AdditionalField id="productid">
      <DisplayLabel>productid</DisplayLabel>
      <Value>914912563</Value>
     </AdditionalField>
     <AdditionalField id="IsPIESubmission">
      <DisplayLabel>IsPIESubmission</DisplayLabel>
      <Value>true</Value>
     </AdditionalField>    
    </AdditionalFields>
    <Photos>
     <Photo>
      <Sizes>
       <Size id="large" url="https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/photos/large_1682655617971_Elextrolux_largelogo.png"/>
       <Size id="thumbnail" url="https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/photos/thumbnail_1682655621282_18788.png"/>
       <Size id="normal" url="https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/photos/normal_1682655621289_18788.png"/>
      </Sizes>
     </Photo>
    </Photos>
    <AuthenticationType>EMAIL</AuthenticationType>
    <SyndicationSource>
     <ClientId></ClientId>
     <LogoImageUrl>LogoImageUrl</LogoImageUrl>
     <ContentLink></ContentLink>
     <Name>Name</Name>
    </SyndicationSource>
    <Comments>
     <Comment id="228708">
      <UserProfileReference id="920269">
       <Anonymous>true</Anonymous>
       <DisplayName>DisplayName</DisplayName>
       <ExternalId>ExternalId</ExternalId>
       <HyperLinkingEnabled>false</HyperLinkingEnabled>
      </UserProfileReference>
      <DisplayLocale>DisplayLocale</DisplayLocale>
      <LastModificationTime>2019-10-21T08:22:44.000+00:00</LastModificationTime>
      <ModerationStatus>APPROVED</ModerationStatus>
      <SubmissionTime>2015-01-09T04:29:31.000+00:00</SubmissionTime>
      <CommentText>CommentText</CommentText>
      <Badges/>
      <Photos/>
      <Videos/>
      <Documents/>
     </Comment>
    </Comments>
    <Documents>
     <Document id="10283">
      <DocumentUrl>https://s3.eu-central-1.amazonaws.com/one2five-test/attachment/documents/1680237622170_sample.pdf</DocumentUrl>
      <Caption>test document attachment for answer 5</Caption>
     </Document>
    </Documents>
   </Review>
  </Reviews>
 </Product>
 <ImageUrl>Product Image Url</ImageUrl>
 <Name>EW6F38EU</Name>
 <ExternalId>EW6F38EU</ExternalId>
 <Description>EW6F38EU</Description>
 <Brand disabled="false">
  <ExternalId>ExternalId</ExternalId>
  <Name>Name</Name>
  <Attributes>
   <Attribute id="NAME">
    <Value>Value</Value>
   </Attribute>
  </Attributes>
 </Brand>
 <Source>Source</Source>
 <ProductPageUrl>ProductPageUrl</ProductPageUrl>
 <NativeReviewStatistics>
  <AverageOverallRating>3.6666666666666665</AverageOverallRating>
  <NotRecommendedCount>0</NotRecommendedCount>
  <OverallRatingRange>0</OverallRatingRange>
  <RatingsOnlyReviewCount>0</RatingsOnlyReviewCount>
  <RecommendedCount>10</RecommendedCount>
  <TotalReviewCount>10</TotalReviewCount>
   <clientNativeReviewAverageRatingValues>
    <AverageRatingValue id="Design">
     <AverageRating>3.8</AverageRating>
     <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Design">
      <ExternalId>Design</ExternalId>
      <Label>Design</Label>
      <Label1>Design</Label1>
      <RatingRange>5</RatingRange>
     </RatingDimension>
    </AverageRatingValue>
   </clientNativeReviewAverageRatingValues>
   <clientNativeReviewRatingDistribution>
    <RatingDistributionItem>
     <RatingValue>3</RatingValue>
     <Count>2</Count>
    </RatingDistributionItem>
   </clientNativeReviewRatingDistribution>
 </NativeReviewStatistics>
 <NumAnswers>0</NumAnswers>
 <NumNativeAnswers>0</NumNativeAnswers>
 <NumNativeQuestions>0</NumNativeQuestions>
 <NumReviews>10</NumReviews>
 <NumQuestions>0</NumQuestions>
 <NumStories>0</NumStories>
 <ReviewStatistics>
  <AverageOverallRating>3.6666666666666665</AverageOverallRating>
  <NotRecommendedCount>0</NotRecommendedCount>
  <OverallRatingRange>0</OverallRatingRange>
  <RatingsOnlyReviewCount>0</RatingsOnlyReviewCount>
  <RecommendedCount>10</RecommendedCount>
  <TotalReviewCount>10</TotalReviewCount>
   <AverageRatingValues>
    <AverageRatingValue id="Design">
     <AverageRating>3.8</AverageRating>
     <RatingDimension displayType="NORMAL" SelectedValueInDisplayEnabled="false" id="Design">
      <ExternalId>Design</ExternalId>
      <Label>Design</Label>
      <Label1>Design</Label1>
      <RatingRange>5</RatingRange>
     </RatingDimension>
    </AverageRatingValue>
   </AverageRatingValues>
   <RatingDistribution>
    <RatingDistributionItem>
     <RatingValue>3</RatingValue>
     <Count>2</Count>
    </RatingDistributionItem>
   </RatingDistribution>
  </ReviewStatistics>
 <CategoryItems>
  <CategoryItem id="Category Item Id">
   <ExternalId>ExternalId</ExternalId>
   <CategoryName>CategoryName</CategoryName>
   <CategoryId>6327</CategoryId>
  </CategoryItem>
 </CategoryItems>
 <EANs>
  <EAN>7332543586745</EAN>
 </EANs>
 <ManufacturerPartNumbers>
  <ManufacturerPartNumber>914917233</ManufacturerPartNumber>
 </ManufacturerPartNumbers>

</Feed>

PIE Feed #

Even if you have some automatic review collection systems, the feed-based method can be useful for sending review requests to email addresses so that they can submit the review for the purchased product offline stores.

Pie interactions can be uploaded to the system using a CSV file.

Create a CSV file

The following columns are interaction columns:

  • ProductExternalId
  • E-Mail
  • UserNickname
  • TimeOfInteraction
  • DisplayCode
  • CustomerId

The following example shows the general structure of the CSV file

ProductExternalIdE-MailUserNicknameTimeOfInteractionDisplayCodeCustomerId
M2GCP100testuser01elx@gmail.comtestuser01elx21.03.2024 04:22:56.445xabc-at_it199191
M2WCP050testuser02elx@gmail.comtestuser02elx21.03.2024 04:22:56.445abc-ia_gb199192
M2GCP1000testuser03elx@gmail.comtestuser03elx21.03.2024 04:22:56.445abc-it_ig199193

One2five recommend to use following date format:

yyyy-MM-dd HH:mm:ss.SSS

Datafield details:

FieldDescription
TimeOfInteractionThe purchase, shipping, or other interaction date
DisplayCodemarket language
E-MailCustomer email address
CustomerIdCustomer’s user ID, typically created during an online transaction
UserNicknameThe customer’s user ID, typically created during an online transaction
ProductExternalIdAs the field’s name says, it is the username that the user prefers to share.
Pie interactions can be uploaded to the system using XML file.

Each transaction in the feed represents its own interaction element under the root. Transaction related data is under the element like TransactionDate under respective transaction.

The following example shows the general structure of a simplified XML interaction feed that shows all possible elements:

XML Snippet
<Feed>
    <Interaction>
        <TransactionDate>2022-01-01T00:00:00</TransactionDate>
        <EmailAddress>new_email@example.com</EmailAddress>
        <UserName>New User</UserName>
        <UserID>0000000</UserID>
        <Locale>en_US</Locale>
        <Products>
            <Product>
                <ExternalId>NEWID123456</ExternalId>
                <Name>New Product Name</Name>
                <Price>999.99</Price>
            </Product>
        </Products>
    </Interaction>
    <Interaction>
        <TransactionDate>2022-01-01T00:00:00</TransactionDate>
        <EmailAddress>new_email@example.com</EmailAddress>
        <UserName>New User</UserName>
        <UserID>0000000</UserID>
        <Locale>en_US</Locale>
        <Products>
            <Product>
                <ExternalId>NEWID123456</ExternalId>
                <Name>New Product Name</Name>
                <Price>999.99</Price>
            </Product>
        </Products>
    </Interaction>
    <Interaction>
        <TransactionDate>2022-01-01T00:00:00</TransactionDate>
        <EmailAddress>new_email@example.com</EmailAddress>
        <UserName>New User</UserName>
        <UserID>0000000</UserID>
        <Locale>en_US</Locale>
        <Products>
            <Product>
                <ExternalId>NEWID123456</ExternalId>
                <Name>New Product Name</Name>
                <Price>999.99</Price>
            </Product>
        </Products>
    </Interaction>
</Feed>

Use the following best practices when you create an interaction data feed file (XML interaction feed).

  • Interaction dates must conform to the XML dateTime format, such as: 2021-11-10T17:17:01.000.
  • Ensure the first line of your feed adheres to the following format: <?xml version="1.0" encoding="utf-8"?> .
  • If you do not have a value for a particular field, omit the field from your feed instead of including it with a blank value.

Review Import #

Review import is a functionality where the review data present in CSV file can be imported to the system, this can be done by creating a file as per the format shared below and share it with One2Five which will be used to import the reviews data in bulk into the system.

FieldDescriptionRequired
SubmissionTimeReview submission date time format for example 2024-01-30 11:03:14Yes
TermsAndConditionsvalue should be boolean true or falseYes
Categoryoptional field, should contain category name data of productOptional
ProductExternalIdProduct Id, as per present in product feed.Yes (if ProductEAN is null)
ProductEANoptional field , must match to product ean in product feed.Yes (if ProductExternalId is null)
UserNicknameuser name which the user prefers to shareYes
E-Mailemail of user who has submitted the reviewYes
Ratingrating valueYes
RatingDesigndesign rating valueOptional
RatingQualityquality rating valueOptional
RatingFunctionalityfunctionality rating valueOptional
ReviewTitlereview title, small title to the review submittedYes
ReviewTextsummary of reviewYes
isRecommendedboolean value, contains true or falseOptional
CompetitionOptInboolean value, contains true or falseOptional

sample file which can be taken as reference to create review import file can be downloaded from here

Badge Update #

Upload Badges is a functionality by which badges can be imported to the reviews submitted by particular user email for respective products.

For badge upload the EXCEL file contains the following columns.

FieldDescription
Verified ReviewsThis column contains email id of the the user who submitted the review for which the badge is to be assigned.
Device DatabaseThis contains product id of product
Device ReviewsThis contains product id of product (note : Device Database value and Device Reviews should contain same value to process the badge further or else it will be skipped )
Verifiedcontains value true or false
Incentivizedcontains value 1 or 0

sample file which can be taken as reference to create review import file can be downloaded from here

Updated on November 11, 2024
Table of Contents
  • Product Feed
  • Client Review Feed
  • PIE Feed
  • Review Import
  • Badge Update