I am developing a public Shopify app.
Where should I store app custom settings? Does Shopify have some API to store custom settings?
In case I save settings in my custom database how can I load them in my embedded app?
I am developing a public Shopify app.
Where should I store app custom settings? Does Shopify have some API to store custom settings?
In case I save settings in my custom database how can I load them in my embedded app?
2
Answers
Store your app settings in your database. The embedded app you’re creating should handle authentication properly and your app should access the store settings and any other store data only when you’re sure the app is loaded by the client that has the right to access this data.
Here are the links that might be useful:
Shopify App CLI
Authenticate with OAuth
Building embedded apps using session tokens
Build a Shopify App with Node and React Tutorial
You should store your app settings in the store metafields.