How to use Storefront API with theme

Shopify Partner
1 0 0

How to use storefront Api with themes?

How to get details through Api call by using theme itself.

Replies 2 (2)

Shopify Partner
68 3 25

You do so through liquid.

Shopify Staff
2731 302 783

Hi Logeshwaran,


The Storefront API is typically used for building customer storefronts and connecting them to Shopify - so it could be thought of as similar to what you can achieve with Liquid but on front-ends that are separate of Shopify. Is there a feature of the Storefront API that you're looking to replicate on a theme?

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 or the Shopify Web Design and Development Blog