{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shopify Admin REST Collections Webhooks API",
    "version": "2024-10"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Shopify-Access-Token",
      "value": "{{X-Shopify-Access-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{store_name}.myshopify.com/admin/api/2024-10/webhooks.json"
          },
          "docs": "Retrieves a list of webhook subscriptions."
        },
        {
          "info": {
            "name": "Create Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{store_name}.myshopify.com/admin/api/2024-10/webhooks.json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new webhook subscription."
        },
        {
          "info": {
            "name": "Delete Webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{store_name}.myshopify.com/admin/api/2024-10/webhooks/:webhook_id.json",
            "params": [
              {
                "name": "webhook_id",
                "value": "",
                "type": "path",
                "description": "The ID of the webhook"
              }
            ]
          },
          "docs": "Deletes a webhook subscription."
        }
      ]
    }
  ],
  "bundled": true
}