Example - Fast Availability

cURL example:

curl --user ${ownerrez_user}:${ownerrez_key}  --location --request POST "${ownerrez_api}/haapi/haolbjson/fastavailability" --header 'Content-Type: application/json'

JSON payload:

{
    "requestVersion": "1.0",
    "systemExternalId": "SystemUniqueId",
    "advertiserExternalId": "ora7ccdcde3fx",
    "listingExternalId": "orp5b2abax",
    "dateRange": {
        "arrivalDate": "2023-03-16",
        "departureDate": "2023-03-22"
    },
    "adults": 2,
"children": 1,
"pets": 2, "units": [ { "unitExternalId": "orp5b2abax" } ] }

JSON response

{
  "units": [
    {
      "unitExternalId": "orp5b2abax",
      "available": true
    }
  ]
}