温馨提示:本文翻译自stackoverflow.com,查看原文请点击:php - Install unlisted app shopify
php shopify

php - 安装未列出的应用商店

发布于 2020-04-17 12:58:23

我到处都看过,但是找不到有关如何在http://storetasker.com/上创建“ Install App”按钮的任何文档(不是我的网站,不推荐它们,只是一个示例)

对一个简短的问题很抱歉,我通常拒绝在这里发布信息,而没有显示我已经尝试过的内容,但是由于上面发生的魔力,我什至找不到从哪里开始 /merchant-install

该应用不公开;也就是说-shopify不会托管它

查看更多

提问者
zanderwar
被浏览
12
Rohmer 2020-02-04 14:43

您可以根据Shopify身份验证文档中描述的说明来构建url。

https://help.shopify.com/zh_CN/api/getting-started/authentication/oauth#step-2-ask-for-permission

安装Shopify文档中的链接说明

我为自己制作的一个像这样:

https://my-store.myshopify.com/admin/oauth/request_grant?client_id={api_key}&redirect_uri=https%3A%2F%2Fmy-app.com%2Fauth&scope=read_themes%2Cwrite_themes%2Cread_products%2Cwrite_products%2Cread_customers%2Cwrite_customers%2Cread_orders%2Cwrite_orders%2Cread_script_tags%2Cwrite_script_tags&state=5c9f319dcc43d72fe7

请参阅API访问范围获取可能的范围列表。