Install the Headless channel to enable Storefront API access
mainTo use the Storefront API, you must enable access by installing the Headless channel on your Shopify store. You can install it via the Shopify App Store or directly from your Shopify Admin:
- From your Shopify admin, click Sales channels.
- Click Recommended sales channels.
- In the Picked for you modal, scroll to the Build custom storefronts section.
- Within the Headless: Build your own commerce stack card, click Add.
- Click Add sales channel.
- Click Create storefront.