I'm having trouble removing Webhooks that I created through the Shopify API. To create a webhook, I used this code in RoR:
webhook = ShopifyAPI::Webhook.create(format: "json", topic: "orders/create", address: "some address")
I can send a GET request and get all the created webcams. But when I send a DELETE request with the corresponding ID, the response will be "404 Not Found - errors: Not found". I am sending a DELETE request using Firefox's RESTClient, and the format is as follows:
DELETE https://api_key: shared-secret@hostname /admin/webhooks/1855159.json
It may not work because the web hosts were created through the API. Is there any other way to remove webcams? Thanks in advance!
mr4nd source share