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
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
Query
query {
productReviewRatingsMetadata {
items {
id
name
values {
value_id
value
}
}
}
}Variables
{}Related in ReviewGraphQl
Other fields shipped by the same module.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.