Skip to content

Is there a way to get a list of all accounts using "swell-js" library? #532

Discussion options

You must be logged in to vote

The swell-js library is a client for Swell's Frontend API, which is concerned with the client-side (frontend) shopping experience. As such, the permissions are restricted to an individual session's shopping experience (ie, you can access your own account, but not others').

Accessing all accounts (or fetching an account by ID) is done thru Swell's Backend API. These actions are meant to be run server-side and require secret key authorization. You can use the swell-node library or roll your own API client to access the Backend API.

Replies: 1 comment

Comment options

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