Hello Shopify Team,
We are looking for a REST or GraphQL API that allows us to programmatically toggle a switch in the theme, specifically within App Embeds.
Could you please let us know if such an API currently exists, if there are any references available, or if there are any plans to release this functionality in the future?
Please see the attached image for your reference.
Thank you,
Viral Mandaliya
As far as I know, there is no such API. @Alan_G Do you have any guidance
Hey @Viral_Mandaliya
- @kyle_liu is correct here, at the moment there isn’t an API or a way to programatically toggle an App Embed on or off.
Just out of curiosity, would you be able to share your use case here in the thread? I can’t guarantee anything, but I can definitely put through a feature request for you so that we can look into implementing this in the future - hope to hear from you soon!
Hi @Alan_G
Thank you for your response.
When a merchant installs our app, they follow a setup process within the app. At one stage, they are required to navigate to Shopify > App Embeds, enable the theme app extension, and click Save on the same Shopify page. After that, they have to manually return to our app to continue the setup.
If there were an API available to programmatically enable “App Embeds” merchants wouldn’t need to leave our app during the setup process. This would significantly reduce the number of steps and improve the overall onboarding experience.
Additionally, we have observed that one of the existing apps is able to enable this automatically after installation. App name is “Boost AI Search & Filter”
Thank you for your consideration.
Thanks @Viral_Mandaliya! I’m not completely certain how the Boost AI folks are enabling this on their end, but I do know some folks have used this workaround for a while:
I’ll set up a feature request report for you on this though, since I definitely agree it would make sense to offer a way to do this. I can’t guarantee anything, but I have seen feature requests I’ve put through be added in production, so it can happen 
Hi @Alan_G
At the moment, we are following the same approach redirecting the merchant to Shopify via a deep link, where they only need to click the Save button.
Thank you for considering this as a feature request
. It would be great if the Shopify team could provide this functionality as soon as possible, as it would significantly improve the user experience for all app users.
Thanks
No worries Viral - definitely understand where you’re coming from. Just confirming I’ve sent that feature request through on my end here - let me know if I can help with anything else!
1 Like