Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Storefront API in a public App

Solved

Storefront API in a public App

Cupel_Apps
Shopify Partner
44 0 5

Hi All,

Is it true that using storefront api in public app is prohibited? I find no way to generate storefront access token using normal OAuth process.

 

banned
Accepted Solution (1)

vix
Shopify Staff
541 103 123

This is an accepted solution.

Hi @Cupel_Apps 

 

No, this is not true. The app does need to be a sales channel, as described in the authentication process of the docs: https://shopify.dev/docs/storefront-api/getting-started#storefront-api-authentication

 
 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 5 (5)

vix
Shopify Staff
541 103 123

This is an accepted solution.

Hi @Cupel_Apps 

 

No, this is not true. The app does need to be a sales channel, as described in the authentication process of the docs: https://shopify.dev/docs/storefront-api/getting-started#storefront-api-authentication

 
 

To learn more visit the Shopify Help Center or the Community Blog.

Cupel_Apps
Shopify Partner
44 0 5

Hi @vix 

Thank you for the detailed explanation.

banned
Cupel_Apps
Shopify Partner
44 0 5

Hi @vix 

Thank you for the detailed explanation. But what if we want harness the power of storefront API in a public app which is not a sales channel?

 

Regards

Muthu

banned
balazsnemeth
Shopify Partner
1 0 2

Hi @vix 

 

Thank you, however we really need to access storefront API in a public app that is not a sales channel? We would like to get the product prices in different currencies, and because market pricing configuration is complex (rounding, price adjustment), we should really on the BE.

 

What is the way to connect to Storefront API from a public app (which probably won't be approved as a Sales Channel)?

 

Also, do you have any idea how to get the exact multicurrency prices (we tried presentment_prices already, but that is really not working well).

 

ovidiucaramida
Shopify Partner
22 0 11

Did you find a solution for this? I am facing the same issue, it requires the app to be a sales channel to be able to generate a storefront access token.