Can Liquid make external API calls to render data?

Can Liquid make external API calls to render data?

mam
Shopify Partner
5 0 3

I have the same question asked about a month ago that was left unanswered.   

https://community.shopify.com/c/shopify-apps/theme-app-extension-make-an-external-api-call-to-get-da...

 

Shopify Partner support does not want answer either.

 

Does anyone know if it's possible to make an external GET API call from Liquid, so i can render external data while rendering Liquid?

 

This is very basic ask in template system i have work with, but for Shopify i see no obvious way?

 

 

Yes, i know an external API call can be made from Javascript/Browser, but i need to do backend rendering.

 

I also know that a App Proxy is a possibile, but i don't want to render an entire page with a single API call.   

 

I need to external data to render a portion of the page (in liquid).

 

Thx.

Reply 1 (1)

HenryQuillin
Tourist
4 0 1

I have the same problem. So disappointing that Shopify hasn't addressed this