Skip to content

Exposing product.reviews to swelljs api #55

Answered by ericingram
y3owk1n asked this question in Help
Discussion options

You must be logged in to vote

You can technically get access to any fields by adding custom permissions to a public API key. More here: https://developers.swell.is/guides/opening-content-permissions

And, it's possible to include any amount of permitted data in a single request by using include and expand parameters. It works the same way on the frontend API as it does on the backend, although again it has to fit key permissions. https://developers.swell.is/backend-api/querying/expanding

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by logeshswell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
2 participants