Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi!
I've built a headless ecommerce website using Storefront Graphql API.
However, I would like to create a Customer without an account (Email subscription), which only be done using Admin API.
Is it a common pattern to use both Admin and Storefront API in a headless solution?
What is your thoughts regarding this?
Solved! Go to the solution
This is an accepted solution.
It's common, however you will need to use the Admin API server-side and not on the client like you would with the Storefront API.
This is an accepted solution.
It's common, however you will need to use the Admin API server-side and not on the client like you would with the Storefront API.