I'm having trouble deleting Webhooks that I created thru the Shopify API. To create the webhook, I used this code in RoR:
webhook = ShopifyAPI::Webhook.create(format: "json", topic: "orders/create", address: "some address")
I'm able to send a GET request and retrieve all the webhooks that were created. But when I send the DELETE request with the respective ID, the response is "404 Not Found - errors: Not found". I'm sending the DELETE request using Firefox's RESTClient, and the format is like this:
DELETE https://api_key:shared-secret@hostname/admin/webhooks/1855159.json
Maybe it's not working because the webhooks were created via the API. Is there another way to delete the webhooks? Thanks in advance!