Retrieve Quotes
Quotes provides high quality marketing quotes about the product and default quote given will be 5.
GET /quotes
curl -X 'GET' \
'http://[stg.]api.bazaarvoice.com/sentiment/v1/quotes?productId=29366&language=en&limit=5' \
--header ‘Authorization: passKey’
-H 'accept: application/json'
'http://[stg.]api.bazaarvoice.com/sentiment/v1/quotes?productId=29366&language=en&limit=5' \
--header ‘Authorization: passKey’
Header | Description |
---|---|
Authorization | Passkey (API key) provided to client for authentication |
Query Parameters
Request Parameter | Description | Required |
---|---|---|
productId | Unique identifier of the product for which you want to retrieve features | Yes |
language | Supported Languages – English (en), French (fr), German (de) and Spanish(es). You cannot pass multiple languages. Locales (ex- en_US, en_CA, fr_CA) are not supported. | Yes |
limit | Number of quotes. Default value: 5 | No |
Sample Response
{
"quotes": [
{
"id": "PaNd1cfFExHaPeosP2VMZOxVF646cJn6AVCjthzAld5G1g8whdUcp
C5Em3cYzBUnPaNd1cfFExHaPeosP2VMZOxVF646cJn6AVCjthzAleT4avVT2RAUQ==",
"text": "Lovely soft material, great fitting and comfortable.",
"reviewRating": 5,
"reviewId": "559ee070-65d4-54a1-960b-9bed94695a90",
"reviewedAt": "2024-07-10",
"nativeLanguage": "en-US",
"highlightedText": "Lovely <strong>soft</strong> material, great fitting and
Comfortable.",
"incentivised": false,
"translatedText": "Lovely soft material, great fitting and comfortable.",
"reviewType": "NATIVE"
},
{. . .} //4 items
]
}
Response Parameters
Response Field Name | Data Type | Description |
---|---|---|
quotes | Array | Contains all the quotes associated to a particular feature. Please refer to quote for attributes type and description of the attributes. |
quote
Response Field Name | Data Type | Description |
---|---|---|
id | String | Unique identifier of the quote |
text | String | Gives the text of quote in english |
reviewRating | float | Gives the rating of quote review |
reviewId | String | Unique identifier of the review |
reviewedAt | Date | Gives the date at which review was done |
nativeLanguage | String | Gives the language selected in BCP47 code |
incentivised | Boolean | Tells if quote is incentivised returns true or false |
translatedText | String | Gives the translated quote text based upon language selection |
reviewType | Enum | ENUM can be native ,family and syndicated |
Updated 5 months ago