1
我已創建新的Shopify Webhooks主題collections/create
,collections/update
和collections/delete
(如Shopify API docs中所列)。Shopify Webhooks集合不起作用
創建Webhook會在標題中獲得空的主體並且沒有集合標識。
{
"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中的一個錯誤嗎?
我可以看到使用API的所有三個網絡掛接。其他webhooks(訂單和產品)沒有任何問題。無論如何,我會盡力聯繫Shopify團隊。 – nord 2012-07-25 10:20:46