如何在webhooks中创建事件生成? 在bigCommerce中设置目标路径?
当我运行test.php文件时 $ url ='https://hooks-beta.bigcommerce.com';
$ fields = array(
"producer"=>"store/b111e",
"scope"=>"store/customer/updated",
"deliverymethod"=>"HTTP_POST",
"destination"=>array(
"url"=>"http://shopifywebhook.hirevisitingfaculty.com/demo.php"
),
);
我得到了结果
{ “ CLIENT_ID “:” mwadsdd6srh7" ,
“created_at”: “2013-10-15T09:29:58 + 00:00”,
“deliverymethod”: “HTTP_POST”, “目的地”:
{ “URL”: “http://shopifywebhook.hirevisitingfaculty.com/demo.php”},
“ID”:1578,
“IS_ACTIVE”:真,
“生产者”: “存储/ bewe”, “范围”:“商店/客户
的/更新”, “的updated_at”: “2013-10-15T09:29:58 + 00:00”}
但是当我运行本地文件而不是客户更新时,会得到这个结果 并没有得到客户ID?