2012-07-23 45 views
1

我已創建新的Shopify Webhooks主題collections/create,collections/updatecollections/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中的一個錯誤嗎?

回答

0

我會首先使用API​​列出店鋪的webhook,以確保所有三個webhook都在那裏。創建webhook時可能有問題。

如果他們其實有,那麼我會聯繫Shopify應用直接團隊:[email protected]

+0

我可以看到使用API​​的所有三個網絡掛接。其他webhooks(訂單和產品)沒有任何問題。無論如何,我會盡力聯繫Shopify團隊。 – nord 2012-07-25 10:20:46