I want to create graphql to get all content in homepage. How to create graphql if anyone has idea please share. Thanks

1 Answer 1


Are you trying to retrieve your CMS homepage content via graphql? If so, you should be able to execute the cmsPage query, passing in the CMS page identified you have defined for your homepage. Devdocs below:

  • Thanks for ans. I tried this but, I want all html and products, category data from homepage using graphql
    – moni patel
    Nov 2, 2022 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.