Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 937 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 937 Bytes

Overview

Currently, Magento 2 does not provide the REST API for the Reviews Extension of the products. This module implement WebAPI for product reviews (partially)

Module allow:

  • Get one review
  • Create review with ratings
  • Update review with ratings
  • Search reviews
  • Get product reviews
Resource Request method Description
/V1/reviews/:id GET Get one review
/V1/reviews/:id PUT Update review
/V1/reviews/:id DELETE Delete review
/V1/reviews/ POST Create review
/V1/reviews/ GET Search reviews
/V1/products/:sku/reviews GET Get product reviews

Docs for adding a new review with ratings

Install

To install this module please use composer dependency manager. In Your Magento2 folder please do execute:

composer require divante/magento2-review-api
php bin/magento setup:upgrade