如何使用节点API安装Shopify应用?

发布于 2025-01-29 21:11:51 字数 197 浏览 4 评论 0原文

我的管理帐户中有一个Shopify应用程序(GGFI)。我也有一个网站可以出售自定义GIF。

我想要的:

  1. 当新的用户从我的网站登录到Shopify时,我想将我的应用程序(GGFI)安装到他们的Shopify Dash板上,而无需单击“安装应用程序”按钮。

我找不到任何节点API文档可以从我的API侧进行此操作。

I have a shopify app(ggfi) in my admin account . I have a website to sell custom gif too.

What I want :

  1. when a new user login from my website to shopify , I want to install my app(ggfi) to their shopify dash board , without them clicking "install app" button .

I could not find any node API documentations to do this from my API side .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ぶ宁プ宁ぶ 2025-02-05 21:11:51

不确定您想做什么,但是如果您想安装应用而不必单击按钮,您只需将它们重定向到您的应用路径并将其商店插入这样的查询:

https://yourapp.com/auth?shop=theirshop.myshopify.com

他们将不得不再次验证并授予您应用程序的许可。

这将适用于我使用Shopify CLI构建的应用程序,但是您必须检查重定向过程如何在您的应用程序上工作。

Not sure what you want to do, but if you want to install an app without having to click a button, you can just redirect them to your app path and insert their shop in the query like this:

https://yourapp.com/auth?shop=theirshop.myshopify.com

They will have to authenticate again and grant permissions to your app.

This will work on my app built with Shopify CLI, but you have to check how the redirect process works on your app.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文