Skip to content

ACCS-1510: Document the reviews(sku) GraphQL query - #618

Open
aminakhyat wants to merge 3 commits into
AdobeDocs:mainfrom
aminakhyat:ACCS-1510-document-reviews-query
Open

aminakhyat wants to merge 3 commits into
AdobeDocs:mainfrom
aminakhyat:ACCS-1510-document-reviews-query

Conversation

@aminakhyat

Copy link
Copy Markdown

Purpose of this pull request

This pull request adds a query reference page for the standalone Query.reviews(sku) field provided by the storefront compatibility layer (SaaS only), and list it in the product queries index and the site navigation.

Affected pages

Add a query reference page for the standalone Query.reviews(sku) field
provided by the storefront compatibility layer (SaaS only), and list it in the product queries index and the site navigation.
Comment on lines +6 to +9
<Fragment src="../../../../includes/saas-only.md"/>

# reviews query

@cod40403 cod40403 Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Fragment src="../../../../includes/saas-only.md"/>
# reviews query
<Fragment src="/includes/commerce-only.md"/>
# reviews query
<Fragment src="/includes/scp-mutation.md" />

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, saas-only is too narrow. Should we use scp-query.md instead of scp-b2b-mutation.md, since reviews is a non-B2B query (matching the existing isSubscribedProductAlertStock/Price pages)?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in c28a009

@bdenham bdenham added hold for release new-topic New original content labels Sep 23, 2026
Comment on lines +6 to +9
<Fragment src="../../../../includes/saas-only.md"/>

# reviews query

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


`reviews(sku: String!, pageSize: Int = 20, currentPage: Int = 1): ProductReviews`

## Input attributes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to document the input/output in detail. Create a commented-out Reference section and link to a currently non-existent URL. See #609 for guidance

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in 8fc9125

@aminakhyat
aminakhyat requested a review from keharper September 25, 2026 04:18

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold for release new-topic New original content

Projects

Status: 📋 Needs Review

Development

Successfully merging this pull request may close these issues.

5 participants