ClassesBigCommerceGraphQLReviews Query

Reviews_Query

This class is responsible for constructing GraphQL queries related to product reviews.

It provides methods to fetch reviews for a specific product, including review text, rating, creation date, and author details.

  • Full name: \BigCommerce\GraphQL\Reviews_Query

Methods

get_product_reviews_query

Get the GraphQL query for fetching product reviews by product ID.

public get_product_reviews_query(): string

Return Value:

The GraphQL query string for product reviews.



Automatically generated on 2025-01-21