英文:
shopify event API is not working for Update Order
问题
我正在使用 RESTful API 将 Shopify 订单与我的数据库同步,我正在使用以下 API:
https://sapphire-online.myshopify.com/admin/api/2020-07/events.json?filter=order&created_at_min=2020...
以获取最近在 Shopify 上更新的事件记录。
这个操作的结果是:
{
"events": []
}
除了 Confirm 动作之外,这个 API 并不起作用。
根据 Shopify 的文档,更新事件并不起作用,它只会返回 Confirm 记录。我已经尝试过 Webhooks,
英文:
I am synchronizing Shopify Order with my Database using restful APIs and I am using this API
https://sapphire-online.myshopify.com/admin/api/2020-07/events.json?filter=order&created_at_min=2020...
to get event records which are recently updated on shopify.
Result of this:
{
"events": []
}
This API is not working except Confirm verb.
as per shopify documentation update event is not working, its returning only Confirm records. I already try Weebhooks,
答案1
得分: 1
为什么不只是设置并监听订单/更新的网络钩子?实际上,这是有效的,而且你可以自定义它,只返回你感兴趣的数据。
英文:
Why not just setup and listen to an orders/update webhook? That actually does work, and you can customize it to only return data you are interested in.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论