scandipwa / reviews-graphql
N/A
Installs: 57 871
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 5
Type:magento2-module
pkg:composer/scandipwa/reviews-graphql
Requires
- magento/framework: *
 - magento/module-catalog: *
 - magento/module-customer: *
 - magento/module-review: ^100.3
 - magento/module-store: *
 - scandipwa/performance: ^1.0
 
This package is auto-updated.
Last update: 2025-10-06 21:36:26 UTC
README
ReviewsGraphQl provides basic types and resolvers for adding and displaying customer reviews.
Module also adds new fields to ProductInterface:
- 
review_summarywhich includes information about product review summary:- 
rating_summary, - 
review_count. 
 - 
 - 
reviews- a list of product reviews containing following review information:- 
review_id, - 
entity_id, - 
entity_code, - 
entity_pk_value, - 
status_id, - 
store_id, - 
customer_id, - 
nickname, - 
title, - 
detail_id, - 
detail, - 
created_at, - 
rating_votes. 
 - 
 
addProductReview
mutation AddProductReview($productReviewItem: ProductReviewInput!) { addProductReview(productReviewItem: $productReviewItem) { review_id entity_id entity_pk_value status_id store_id customer_id nickname title detail created_at } }
{
    "productReviewItem": {
        "nickname": "John",
        "title": "Review Title",
        "detail": "Review Detail",
        "product_sku": "n31191497",
        "rating_data":[
            {
              "rating_id": 1,
              "option_id": 4
            },{
              "rating_id": 2,
              "option_id": 8
            }
        ]
    }
}
getRatings
query GetRatings { getRatings { rating_id rating_code rating_options { option_id value } } }