{
  "opencollection": "1.0.0",
  "info": {
    "name": "Offer Tool Admin - Branches API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Admin - Branches",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get paginated branches with filtering and sorting",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://heartbeat.1komma5grad.com/api/v1/admin/branches",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-based)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items per page"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search by branch name"
              },
              {
                "name": "zohoIdSearch",
                "value": "",
                "type": "query",
                "description": "Search by Zoho ID"
              },
              {
                "name": "countryId",
                "value": "",
                "type": "query",
                "description": "Filter by country ID"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "Field to sort by"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort order"
              }
            ]
          },
          "docs": "Get paginated branches with filtering and sorting"
        },
        {
          "info": {
            "name": "Create a new branch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://heartbeat.1komma5grad.com/api/v1/admin/branches",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new branch"
        },
        {
          "info": {
            "name": "Get a branch by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://heartbeat.1komma5grad.com/api/v1/admin/branches/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a branch by ID"
        },
        {
          "info": {
            "name": "Update a branch",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://heartbeat.1komma5grad.com/api/v1/admin/branches/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a branch"
        }
      ]
    }
  ],
  "bundled": true
}