我为主题创建了新的 Shopify Webhook collections/create
,collections/update
并且collections/delete
(如Shopify API 文档中所列)。
创建 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 中的错误吗?