How can I get information about store users in BigCommerce?

JJS

I would like to retrieve information about the currently logged in user, and whether that user is also a store admin console user. I need to provide additional user-interfaces to supplement the current admin (editing Customer Attributes), and I'm trying to figure out the best way to do Role Based Access.

For example: Shopify provides the User api https://help.shopify.com/en/api/reference/plus/user that provides these endpoints

GET /admin/api/2019-04/users.json
Retrieves a list of all users
GET /admin/api/2019-04/users/#{user_id}.json
Retrieves a single user

Does this exist in BigCommerce in any way?

It appears the only way I can determine what role the user has is via the Load request in a marketplace application. https://developer.bigcommerce.com/api-docs/getting-started/building-apps-bigcommerce/building-apps#building-apps_processing-signed-payload

Request Type = Load

Multiple users enabled

Compare the user information to see if it matches that of the store owner, received at the time of app installation or that of an existing user. If the user information does not match either of these, then it represents a new user that you should add to your database or other storage.

Karen White

You're correct--the app Load response will tell you whether the user activating the app is the store owner or another user role, but there isn't an API endpoint to request control panel users' permissions. On the client-side, that info is encrypted. The app Load response will be your best bet for making the distinction programmatically.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I get instant fb checkin information of users

How can I get information about type of a Go variable

How can I get information about the file that launched my app?

How can I get the information about an individual IM in the Slack API?

How can I get information about children of some StorageReference?

is there anyway I can get information about vkimage?

How can I store the users' data properly?

How should I store information about rooms in a pygame game?

How can i get an overview about env (environment variables) of all users on a system?

How can i get information about in-app-purchases in Google Play Billing for android

How can I get more information about "Waiting for target device to come online" in Android Studio?

How can I get information about my virtual desktops via the command line?

How can I get information about the RootDSE with Powershell locally on a Windows 2008 R2 Domain Controller

How can I get information about the logged-in user in a Django application?

I can not get information about the error of validation in AngularJS

Can I get information about the local variables using Java reflection?

How can I reach users' calendar information on server?

How can I get an users website with PyGithub?

How I Can Get Users Coordinates swift

How can i get information with javascript about the device which the user used to get on my asp.net webapp?

How to store users global information in social network

How can I get GPU information?

How can i get match information with python

How can I get superuser's information?

How can I get memory card information?

How i can pass information into a GET in node

How can you get information about other apps running or in focus?

How much information can websites get about your browser/PC?

How we can get unique information about the iPad?