{
  "opencollection": "1.0.0",
  "info": {
    "name": "Headout Partner Booking Inventory API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Headout-Auth",
      "value": "{{Headout-Auth}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Inventory",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List inventory and pricing by variant",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.headout.com/api/public/v1/inventory/list-by/variant",
            "params": [
              {
                "name": "variantId",
                "value": "",
                "type": "query",
                "description": "The ID of the variant for which the inventory needs to be fetched."
              },
              {
                "name": "startDateTime",
                "value": "",
                "type": "query",
                "description": "fm-date-time; defaults to current timestamp."
              },
              {
                "name": "endDateTime",
                "value": "",
                "type": "query",
                "description": "fm-date-time; defaults to infinity if unspecified."
              },
              {
                "name": "currencyCode",
                "value": "",
                "type": "query",
                "description": "ISO 4217 currency code (e.g. USD"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Pagination limit."
              }
            ]
          },
          "docs": "Fetch availability and pricing for a variant across a date-time window."
        }
      ]
    }
  ],
  "bundled": true
}