All things Shopify and commerce
Hi there,
We have a Shopify live app. We want to add a feature to qualify the merchants before they install the app based on some criterias like order history (calculated through Order API).
Once the user clicks on "Add App" button in the app store listing page, they will be redirected to the page asking for scopes and permissions with "Install app" button. As soon as they click on "Install app" button, the app will be listed in their admin dashboard "Apps & Sales Channles" Settings.
We want to avoid our app being listed in their "Apps & Sales Channels", if they are disqualified.
How can I do qualify (basically get API access) the merchant even before they click on "Install App" button?
Any pointers would be appreciated.
With my understanding, we couldn't get the access of admin API before the installation since the API token would only be generated after the installation.
Of couse, the frontstore API could be accessed without authentication. You could check some public information. https://shopify.dev/docs/api/storefront
On the other hand, I think another solution is not to inturrupt the installation process or control the listig in "Apps & Sales Channels". You could check the qualification after get the token and display different message in app admin page.
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025