Shopify Webhooks for Collections不起作用

时间:2012-07-23 13:44:39

标签: shopify

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

创建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" 
}

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

1 个答案:

答案 0 :(得分:0)

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

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