alex-le/magento2-review-summary
Composer 安装命令:
composer require alex-le/magento2-review-summary
包简介
Magento 2 Review Summary REST API
README 文档
README
Overview
Magento does not provide a REST API Endpoint to get the reviews/ratings from a product. This Module implements an endpoint to get the rating summary for a single product (by SKU).
Install
Use composer to install this module. From your Magento 2 folder run:
composer require alex-le/magento2-review-summary php bin/magento setup:upgrade
Usage
Create an API Token and provide access to Marketing -> User Content -> Reviews
Use the following API Endpoint:
| Endpoint | Request method |
|---|---|
| /V1/products/:sku/review-summary | GET |
Response Example:
{
"summary": 60,
"count": 3
}
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-13