How can I enable and update app embed settings

dripdevelopment
Shopify Partner
3 0 0

Considering that theme assets are not available to update from Shopify's Admin API 2023-04, I'm looking for some guidance on updating app embed settings post-installation for a Shopify app. I've been using the URL 'https://admin.shopify.com/store/<STORE>/themes/<THEME-ID>/editor?context=apps&appEmbed=<APP-ID>' to manage installations, but I'm specifically interested in enabling and updating a block and fill settings through deep links.

before, this can be achieved by sending a JSON payload with the desired settings to this endpoint "themes/<ACTIVE-THEME-ID>/assets".

Does anyone know of a method or specific deep link that allows direct access to these settings without navigating through the standard interface?

Any insights or guidance would be greatly appreciated. Thank you!

Replies 2 (2)

Liam
Shopify Staff
2731 292 743

Hi Dripdevelopment,

 

Would you be looking to update the settings of the app block? If so, I believe you could deploy a new version of the app extensions which will update the settings to the new version. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

dripdevelopment
Shopify Partner
3 0 0

Thanks for your response, Liam, but what I'm looking for is a way to populate a field in app embed settings using deeplinks. Here is a previous question on this matter https://community.shopify.com/c/technical-q-a/autofill-app-settings-for-embed-block-using-deep-link/...