{"action":"closed","issue":{"url":"https://api.github.com/repos/bigcommerce/bigcommerce-api-php/issues/147","labels_url":"https://api.github.com/repos/bigcommerce/bigcommerce-api-php/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/bigcommerce/bigcommerce-api-php/issues/147/comments","events_url":"https://api.github.com/repos/bigcommerce/bigcommerce-api-php/issues/147/events","html_url":"https://github.com/bigcommerce/bigcommerce-api-php/issues/147","id":95105782,"number":147,"title":"Cannot create webhooks","user":{"login":"yingliangzhang","id":3793091,"avatar_url":"https://avatars.githubusercontent.com/u/3793091?v=3","gravatar_id":"","url":"https://api.github.com/users/yingliangzhang","html_url":"https://github.com/yingliangzhang","followers_url":"https://api.github.com/users/yingliangzhang/followers","following_url":"https://api.github.com/users/yingliangzhang/following{/other_user}","gists_url":"https://api.github.com/users/yingliangzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yingliangzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yingliangzhang/subscriptions","organizations_url":"https://api.github.com/users/yingliangzhang/orgs","repos_url":"https://api.github.com/users/yingliangzhang/repos","events_url":"https://api.github.com/users/yingliangzhang/events{/privacy}","received_events_url":"https://api.github.com/users/yingliangzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-15T04:52:56Z","updated_at":"2015-07-15T05:12:33Z","closed_at":"2015-07-15T05:12:33Z","body":"I'm trying to create webhooks by calling `Bigcommerce::createResource()`  method.\r\nI'm using OAuth, I've got my client_id, auth_token and store_hash. \r\nThe data I want to create is like below.\r\n```\r\n$event = 'store/product/created';\r\n$webhook = array(\r\n  'scope' => $event,\r\n  'destination' => '\"http://fruugo.fruugo.ultrahook.com/merchants/2/bigcommerce/store/product/created\"'\r\n  'is_active' => true\r\n);\r\n```\r\n\r\nI get `false` when I tried to dump the result and the webhook was not created.\r\n```\r\n$result = Bigcommerce::createResource('/hooks', $webhook);\r\ndump($result);\r\n```\r\nI couldn't find out where I did wrong. Please help.\r\n\r\nThanks"}}