{
  "opencollection": "1.0.0",
  "info": {
    "name": "OwnerRez API v2 Bookings API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Bookings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bookings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ownerrez.com/v2/bookings",
            "params": [
              {
                "name": "property_ids",
                "value": "",
                "type": "query",
                "description": "One or more property identifiers to filter by."
              },
              {
                "name": "since_utc",
                "value": "",
                "type": "query",
                "description": "Return bookings created or updated at or after this UTC timestamp."
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Start of the arrival-date filter window (YYYY-MM-DD)."
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "End of the arrival-date filter window (YYYY-MM-DD)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of items to skip for pagination."
              }
            ]
          },
          "docs": "Returns a paginated list of bookings. Supports filtering by property, date range, and change time."
        },
        {
          "info": {
            "name": "Create a booking",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ownerrez.com/v2/bookings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new booking."
        },
        {
          "info": {
            "name": "Retrieve a booking",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ownerrez.com/v2/bookings/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource."
              }
            ]
          },
          "docs": "Retrieves a single booking by its identifier."
        },
        {
          "info": {
            "name": "Update a booking",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.ownerrez.com/v2/bookings/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Partially updates an existing booking."
        }
      ]
    }
  ],
  "bundled": true
}