【问题标题】:Shopify Webhooks for Collections do not workShopify Webhooks for Collections 不起作用
【发布时间】:2012-07-23 13:44:38
【问题描述】:

我为主题 collections/createcollections/updatecollections/delete(如 Shopify API docs 中所列)创建了新的 Shopify Webhook。

创建 Webhook 的主体为空,标头中没有集合 ID。

{
    "x-shopify-topic": "collections/create",
    "x-shopify-shop-domain": "myshop.myshopify.com",
    "x-shopify-hmac-sha256": "MiTUUuy****************xZXScg=",
    "x-real-ip": "204.93.213.120",
    "x-forwarded-for": "204.93.213.120",
    "user-agent": "Ruby",
    "host": "postcatcher.in",
    "content-type": "application/xml",
    "content-length": "474",
    "connection": "close",
    "accept": "*/*",
    "x-heroku-queue-wait-time": "0",
    "x-heroku-queue-depth": "0",
    "x-heroku-dynos-in-use": "1",
    "x-request-start": "1343050015180" 
}

其他两个 Webhook(更新和删除)根本不会被调用。这是 Shopify 中的错误吗?

【问题讨论】:

    标签: shopify


    【解决方案1】:

    我会首先使用 API 列出商店的 webhook,以确保所有三个 webhook 都在那里。创建 webhook 时可能出现问题。

    如果他们确实在那里,那么我会直接联系 Shopify 应用团队:apps@shopify.com

    【讨论】:

    • 我可以看到所有三个使用 API 的 webhook。其他 webhook(用于订单和产品)可以正常工作。无论如何,谢谢,我会尝试联系 Shopify 团队。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-19
    • 2022-09-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多