chan-ro / rev-fork
Review WebAPI forked from vue storefront api
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 41
Type:magento2-module
Requires
- php: 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.19
- magento/module-review: >=100.2.0
This package is auto-updated.
Last update: 2024-05-11 14:14:05 UTC
README
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 config repositories.divante-review vcs https://github.com/DivanteLtd/magento2-review-api.git composer require divante/magento2-review-api:dev-master php bin/magento setup:upgrade
Compatibility
Module was tested on Magento 2.2.0