Polling the status of an app embed block?

Polling the status of an app embed block?

silintzir
Shopify Partner
3 0 17

In the development section, there is a paragraph describing how to deep link the activation of an app embed block from within the application so that merchants don't have to go themselves in the editor to do so. The UUID of the extension, which is passsed in the URL, is used to do the redirection.

 

Is there any way, through the REST API or GraphQL to poll the status of an embed app block to check whether merchant has enabled it or not? 

 

I have searhed the API bud did not see any endpoint for that.

Replies 9 (9)

silintzir
Shopify Partner
3 0 17

Isn't there anyone from the Shopify Support team to answer this question? 

 

Are there any plans to support such functionality?

 

adrmrn
Shopify Partner
6 2 13

Any update here? I'm also looking for a way to check if app-embed is enabled in the store.

ken001
Shopify Partner
6 0 8

I'd like to know this one.

MGMonge
Shopify Partner
7 0 13

Hi Silintzir,

There is a workaround you can do, which is not ideal and it doesn't solve completely the problem but it could help you reduce the amount of support you need to give for this, you can store a boolean in your database indicating whether the user clicked or not the deep link you provided, and use it as the status, so you don't let them do anything until they at least click it. This way most stores will activate it.

But anyway I believe Shopify should do one of the following things:

1. Add an endpoint to activate the embed app programatically without manual action needed.

2. Add an endpoint to check the status of the embed app. (Still ugly but it will help massively)

12345vb
Shopify Partner
11 0 2

bumping thread 

ksladek
Shopify Partner
2 0 2

Bump 🙂 It would be very helpful for us as well.

pawel_experify
Shopify Partner
5 0 4

bump!
I was about to ask this question...

dahaaw
Shopify Partner
5 0 2

Have same issue in 2024

 
 
Murgesh
Shopify Partner
12 0 1

Same, Its May 2024 still no clue how to get that done...