Skip to content

Conversation

bc-terra
Copy link
Collaborator

@bc-terra bc-terra commented Oct 1, 2025

Added documentation for querying promotional banners using the GraphQL Storefront API, including example queries and responses.

DEVDOCS-6492

What changed?

  • Storefront GraphQL now supports the querying of promotion banners.

Release notes draft

  • We've added support for promotion banners to Storefront GraphQL.

Anything else?

A second pull request in bigcommerce/developer-center will be required.

ping { @bigcommerce/dev-docs-team }

Added documentation for querying promotional banners using the GraphQL Storefront API, including example queries and responses.

## Key Points

- **Sanitize HTML**: Banners are delivered as raw HTML strings. Always sanitize these strings before rendering in your storefront to protect against XSS attacks.
Copy link

Choose a reason for hiding this comment

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

⚠️ [remark-lint] reported by reviewdog 🐶
XSS is misspelt; did you mean XS, CSS, DSS, SSS, XES, ASS, ISS, RSS, SS, USS, X'S, XIS? retext-spell retext-spell

@bc-terra bc-terra added the ready for review This PR is complete and awaiting a review. label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR is complete and awaiting a review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant