{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bringg Delivery Hub Administration Webhooks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://admin-api.bringg.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generate Undelivered Webhooks Report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us2-admin-api.bringg.com/services/get_undelivered_webhooks"
          },
          "docs": "Retrieve a report of webhooks Bringg sent without receiving confirmation."
        },
        {
          "info": {
            "name": "Delivery Created Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/webhooks/delivery-created"
          },
          "docs": "Bringg notifies the partner of a new delivery to fulfill."
        },
        {
          "info": {
            "name": "Get Quote Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/webhooks/get-quote"
          },
          "docs": "Bringg requests a delivery quote (price and ETA) from the partner."
        },
        {
          "info": {
            "name": "Delivery Updated Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/webhooks/order-updated"
          },
          "docs": "Bringg notifies the partner an order has been updated."
        },
        {
          "info": {
            "name": "Delivery Cancelled Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/webhooks/order-cancelled"
          },
          "docs": "Bringg notifies the partner an order has been cancelled."
        },
        {
          "info": {
            "name": "Merchant Registered Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/webhooks/merchant-registered"
          },
          "docs": "Bringg notifies the partner a new merchant has subscribed to the partner's fleet."
        },
        {
          "info": {
            "name": "Return Delivery Created Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/webhooks/return-delivery-created"
          },
          "docs": "Bringg notifies the partner of a return delivery to pick up."
        }
      ]
    }
  ],
  "bundled": true
}