Bigcommerce API Webhooks Ruby Gem 给出 404 错误

Bigcommerce API Webhooks with Ruby Gem Giving 404 Error

我尝试了 运行 使用 Bigcommerce API Ruby Gem 的以下命令:

puts Bigcommerce::Webhook.all

我收到以下错误:

[{"status":404,"message":"The requested resource was not found."}]

所有其他 API 命令工作正常。知道为什么 Webhook 不起作用吗?

由于您尚未创建任何 webhook,因此 404 资源响应准确,因为列表中 return 没有任何内容。

问题是当我需要通过 https / SSL 使用 oAuth API 登录时,我使用的是旧版 API 登录。