When you want to submit your app to be public on ShopBase App Store, in App detail page, click Submit App Store listing button.
In the App listing submission page, please follow the instruction to fill in the needed information.
You can save without submitting by click Save button on the bar appearing when you change something. When all things are set, click Submit listing button. Please note that after the submission, you can not change the information until we have made the decision of approving your app or not. When your app is approved, it will be shown on ShopBase App Store then your customers can install your app.
Once your app is reviewed and published, it should be listed on App store page https://apps.shopbase.com and shop owner should be able to install that app to their store by clicking on Add App button.
After the user adds an app to their store, the following steps will be done:
ShopBase will send a request to app URL with basic information like what shop is installing.
App redirect user to
https://<shop_domain>.onshopbase.com/admin/oauth/authorize and following parameters are required
client_id (API Key)
scope: list of available scopes, separated by comma
redirect_uri: must be one of the whitelist uri list
Shop owner will be asked for permission approval
ShopBase processes and send back request to your
redirect_uri with authorize code
App send a POST request to
https://<shop_domain>.onshopbase.com/admin/oauth/access_token.json with payload including
ShopBase responds a JSON with 2 information
App use that access token for accessing public admin APIs