如何使用 APP/API 添加 Shopify 放弃结帐条目
有什么方法可以使用 Shopify Rest API 通过 APP 添加废弃的结帐条目吗? 目前我只能访问这 2 个 API ,计数并列出。
Is there any way I can add abandoned checkout entries through APP using the Shopify Rest API?
Currently I can only access these 2 APIs, count and list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法使用 Rest API 创建放弃结帐,但可以借助 Shopify Storefront Graphql API 来执行此操作。您可以使用以下突变来创建废弃的购物车。
要运行此突变,请通过在商店内创建自定义应用程序或构建销售渠道应用程序来生成 Shopify 店面访问令牌。
对于自定义应用程序,您将需要店面的读写结账权限。
You cannot create abandoned checkout using Rest API, but you can do this with the help of Shopify Storefront Graphql API. You can use the below mutation to create an abandoned cart.
For running this mutation, generate a Shopify storefront access token by creating a custom app inside the store or by building a sales channel app.
For the custom app, you will need read and write checkout permission of the storefront.