bigcommerce/cornerstone

How to access Pages v3 REST API via conrerstone?

ArshadVayani opened this issue · 2 comments

Hi, I am trying to get child web pages of a parent page so that I could display those child pages in a menu dynamically. I thought about using Pages v3 API but it looks like we can't access it via frontend. Is there any alternative API that could be used to access page objects in the Cornerstone theme?

This is the API endpoint I am trying to access:
https://developer.bigcommerce.com/api-reference/4f43c76e8b328-get-a-page

hi @ArshadVayani
there is no existing solution for using manage APIs in Cornerstone to my knowledge.

One possible solution is that you could build a serverless app that you connect with using JavaScript.

https://medium.com/bigcommerce-developer-blog/how-i-built-a-serverless-bigcommerce-app-on-aws-4efe21446bea