{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bringg Delivery Hub Administration Delivery Blocks 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": "Delivery Blocks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Delivery Block",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/services/create_delivery_block"
          },
          "docs": "Create a delivery block (driver shift slot for delivery work)."
        },
        {
          "info": {
            "name": "Update Delivery Block",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/services/update_delivery_block"
          },
          "docs": "Update a delivery block."
        },
        {
          "info": {
            "name": "Delete Delivery Block",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://us2-admin-api.bringg.com/services/delete_delivery_block"
          },
          "docs": "Delete a delivery block."
        },
        {
          "info": {
            "name": "Get Delivery Block",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us2-admin-api.bringg.com/services/get_delivery_block"
          },
          "docs": "Get a delivery block by id."
        },
        {
          "info": {
            "name": "Assign Delivery Block",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/services/assign_delivery_block"
          },
          "docs": "Assign a driver to a delivery block."
        },
        {
          "info": {
            "name": "Unassign Delivery Block",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us2-admin-api.bringg.com/services/unassign_delivery_block"
          },
          "docs": "Unassign a driver from a delivery block."
        },
        {
          "info": {
            "name": "Get Delivery Blocks By User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us2-admin-api.bringg.com/services/users_delivery_blocks"
          },
          "docs": "List delivery blocks assigned to specific users."
        },
        {
          "info": {
            "name": "Get Delivery Blocks By Team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us2-admin-api.bringg.com/services/team_delivery_blocks"
          },
          "docs": "List delivery blocks for a team."
        }
      ]
    }
  ],
  "bundled": true
}