【发布时间】:2012-07-23 13:44:38
【问题描述】:
我为主题 collections/create、collections/update 和 collections/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