Related Documents
Document Properties
Kbid244E52
Last Modified23-Jun-2020
Added to KB04-Jun-2013
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8

REST API - Get product review by ID (until 7.8)

URI

/products/<sku>/reviews/<id>

Http Method

GET

Short Description

Get a product review by its ID

Query Parameters

none

Example Requests

/products/1454627/reviews/DAkKDgAbrkIAAAE.HaFzhO_J

HTTP Status Codes

200 OK
404 Not Found (Product or Review not found; Review not approved)

Description

The request retrieves the review specified by its ID

Cartridge

app_sf_rest

Application

B2C Web Shop, SMB Web Shop

Product Version

7.4

Product To Version

 7.8

Status

final

JSON

Request Data Format

Request related java object

n/a

Request Example

n/a

Response Data Format

application/json

Response related java object

com.intershop.sellside.rest.b2c.capi.resource.ReviewResource
com.intershop.sellside.rest.b2c.capi.resourceobject.ReviewRO

Response Example

{
    "type": "Review",
    "id": "y60KDACwgR8AAAFB0MKGQOQj",
    "content": "alexandra120",
    "rating": 5,
    "creationDate": "Wed Oct 23 10:07:30 EEST 2013",
    "title": "alexandra102",
    "authorFirstName": "Alexandra",
    "authorLastName": "Heimroth"
}

XML

XML Request Data Format

XML Request Java Objects

n/a

XML Request Example

n/a

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.sellside.rest.b2c.capi.resource.ReviewResource
com.intershop.sellside.rest.b2c.capi.resourceobject.ReviewRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Review type="Review">
    <authorFirstName>Alexandra</authorFirstName>
    <authorLastName>Heimroth</authorLastName>
    <content>alexandra120</content>
    <creationDate>Wed Oct 23 10:07:30 EEST 2013</creationDate>
    <rating>5</rating>
    <title>alexandra102</title>
</Review>

Reference - WebShop REST APIs

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets