Is it possible to generate a Headless storefront through the API?

Is it possible to generate a Headless storefront through the API?

skarakovski
Shopify Partner
2 0 0

Can I develop an embedded admin app like Headless that can retrieve credentials for Storefront API and Customer Account API? Simply put, can I replicate the Headless functionality in my admin app?

Replies 2 (2)

Harris3
Tourist
10 1 0

Hi @skarakovski

 

Yes, you can definitely develop an embedded admin app that replicates the functionality of Headless apps to retrieve credentials for the Storefront API and Customer Account API, but you’ll need to handle authentication, secure access to API tokens, and ensure proper integration with Shopify’s API structure.

Gail Harris
skarakovski
Shopify Partner
2 0 0

Hello @Harris3 , thank you for your reply.
Can you provide the information you have?
For the Storefront API I found only this request, but I don't have permissions to execute it, also I don't see solutions to request Access Scopes of my application to execute it.
https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/storefrontAccessTokenCreate
For the Customer Account API, I don't see any solutions for request that credentials.