MageSmith
QueryReview · Magento 2.4.9

productReviewRatingsMetadata

productReviewRatingsMetadata is a Magento 2 GraphQL query in the Review module. Return the active ratings attributes and the values each rating can have. It returns ProductReviewRatingsMetadata! and is callable anonymously.

Last verified: against Magento 2.4.9.

Returns

ProductReviewRatingsMetadata!

Resolver class

Magento\ReviewGraphQl\Model\Resolver\ProductReviewRatingsMetadata

Example request

Auto-generated from the SDL — paste-ready against your store's /graphql endpoint. Replace the host, store code, and any required values before running.

Headers

Content-Type
application/json
Store
default store view code; use 'default' for the single-store baseline

Query

query {
  productReviewRatingsMetadata {
    items {
      id
      name
      values {
        value_id
        value
      }
    }
  }
}

Variables

{}

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.