Reviews

(ms.reviews)

It contains the reviews of the product added by product users.



Fields

Value Description
review   
Type: string
Required
Customer experience of using the particular product or services.
Good quality
unique_id   
Type: string
Required
Unique handler of the product whose review is to be added.
5b308e1f083bdfbea6f88674
product_name   
Type: string
Name of product.
Faballey Women Skirts
publish   
Type: string
Enabling the flag makes the review published. By default, value of the flag's is "1".
1
images   
Type: array
Images for the review, if you want to add any.
{ 
  "images": [ 
    { 
      "image": "ms.reviews/583bd9a634a6d66f1881e490/583bdb33962e6d28283338ab.gif" 
    } 
  ] 
}
image
Type: file
Single image related to the review.
rating   
Type: string
Required
Ratings of product on the scale of 1 to 5.
2
user_id   
Type: string
Unique handler of the user logged in to review the product.
b30939dd44077042b29cd5f
email   
Type: string
Required
Email id of the user logged in to review the product.
matt.kinsle@gmail.com
created_on   
Type: string
Date and time of creation of review.

Commands (Endpoints)

POST /api/1/entity/ms.reviews   
Creates a new review
DEL /api/1/entity/ms.reviews/{resource_id}   
Deletes a review
PUT /api/1/entity/ms.reviews/{resource_id}   
Updates an existing review
GET /api/1/entity/ms.reviews/{resource_id}   
Retrieves a single review
GET /api/1/entity/ms.reviews   
Retrieves a list of reviews