App Proxy path_prefix within App Theme Block

App Proxy path_prefix within App Theme Block

schonert
Shopify Partner
7 0 3

Hey there!

 

We're looking to extend our App blocks with rich data from our app - and as far as I can read the recommended way is using App Proxies.

 

However, it's not quite clear how to get hold of the path_prefix, from within the App block. Since each storeowner can customize the path prefix - we can't reliably hardcode it.

 

Am I mistaken?

How do you go about solving this? Just call your API directly with some custom validation of the customer id?

 

Replies 2 (2)

eronisko
Shopify Partner
1 0 0

I am wondering the same thing. @schonert have you managed to solve this?

schonert
Shopify Partner
7 0 3

Afraid not