How can we enable and disable an embedded app automatically using an API or without manual intervention?
hey @skjjain try this one
Use Shopify’s API to manage app installations by automating activation via OAuth and deactivation through the app uninstallation webhook.
You can use Shopify API
As it stands right now, every merchant has to manually embed the app section into their theme (you can also craft a link that will embed your app block into the theme) but merchants still have to confirm the changes and publish the theme.
Hi @skjjain
You can control an embedded Shopify app’s activation by using the Shopify App Bridge and Admin API
You can:
Controlling access via OAuth – Your app can check store permissions and deny access if certain conditions aren’t met.
Using a feature flag – Implement a toggle within your app’s backend to enable or disable functionality dynamically.