{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nuvemshop / Tiendanube Admin Categories Webhooks API",
    "version": "2025-03"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authentication",
      "value": "{{Authentication}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tiendanube.com/2025-03/{store_id}/webhooks"
          },
          "docs": "Receive a list of all webhook subscriptions."
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tiendanube.com/2025-03/{store_id}/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Subscribe to an event. The `event` field accepts values such as order/created, order/paid, order/cancelled, product/created, product/updated, product/deleted, customer/created, category/updated, app/uninstalled, and many more (see the Webhook documentation)."
        },
        {
          "info": {
            "name": "Get a webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tiendanube.com/2025-03/{store_id}/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric resource id."
              }
            ]
          },
          "docs": "Receive a single webhook subscription."
        },
        {
          "info": {
            "name": "Update a webhook",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tiendanube.com/2025-03/{store_id}/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric resource id."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modify an existing webhook subscription."
        },
        {
          "info": {
            "name": "Delete a webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tiendanube.com/2025-03/{store_id}/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric resource id."
              }
            ]
          },
          "docs": "Delete a webhook subscription."
        }
      ]
    }
  ],
  "bundled": true
}