Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to use Storefront API with theme

How to use Storefront API with theme

logeshwaran_K
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)

AlohaAkahai
Shopify Partner
68 3 26

You do so through liquid.

Liam
Community Manager
3108 344 902

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