{
  "opencollection": "1.0.0",
  "info": {
    "name": "SpotHero Parking Availability Reservations API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Reservations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Reservations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spothero.com/v2/reservations",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by reservation status"
              },
              {
                "name": "starts_after",
                "value": "",
                "type": "query",
                "description": "Filter reservations starting after this date"
              },
              {
                "name": "starts_before",
                "value": "",
                "type": "query",
                "description": "Filter reservations starting before this date"
              },
              {
                "name": "facility_id",
                "value": "",
                "type": "query",
                "description": "Filter by facility ID"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip for pagination"
              }
            ]
          },
          "docs": "Retrieve a list of parking reservations for the authenticated partner account. Supports filtering by status, date range, and facility."
        },
        {
          "info": {
            "name": "Create Reservation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.spothero.com/v2/reservations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new parking reservation at a specific facility for a given time period. Returns a confirmation with a booking reference and barcode for facility entry."
        },
        {
          "info": {
            "name": "Get Reservation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spothero.com/v2/reservations/:reservation_id",
            "params": [
              {
                "name": "reservation_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the reservation"
              }
            ]
          },
          "docs": "Retrieve details for a specific parking reservation by its ID."
        },
        {
          "info": {
            "name": "Cancel Reservation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.spothero.com/v2/reservations/:reservation_id",
            "params": [
              {
                "name": "reservation_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the reservation"
              }
            ]
          },
          "docs": "Cancel an existing parking reservation. Cancellation policies and refund eligibility depend on the facility's terms and the time of cancellation relative to the reservation start."
        }
      ]
    }
  ],
  "bundled": true
}