Headless commerce and custom storefronts with Shopify APIs and SDKs
I'm trying to determine if it's possible to create a Public App in the Shopify app store (available for other shops to install) that would allow me to build a completely independent application (not within Shopify) that uses the Storefront API to display a customer's order history. I've been reading through the docs and I've determined this generally possible with the Storefront API by obtaining a customer access token and requesting orders ... but what I can't tell is if this capability is reserved for the use case of building a custom shop frontend for one store, rather than via a public app that arbitrary stores can install.
If this is not possible, I'd be open to building a Public App in the Shopify app store such that when a shop installs it, it creates a way for customers to 'export' their own order history (i.e. a button that when clicked, posts the customer's past orders to our servers) or something like that. Is this possible?
Solved! Go to the solution
This is an accepted solution.
The functionality stays the same with Public or Private apps. For public apps, you would be looking at building a Sales Channel. Keep in mind this customer access token is the customer of the merchant and their orders vs. all of the orders for that store (that would be information from the admin api)
This is an accepted solution.
The functionality stays the same with Public or Private apps. For public apps, you would be looking at building a Sales Channel. Keep in mind this customer access token is the customer of the merchant and their orders vs. all of the orders for that store (that would be information from the admin api)
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023