ROOTREZ
  1. Properties
ROOTREZ
  • App
    • Api health check
      GET
    • Check if the API is alive
      GET
    • Check current outbound public IP
      GET
  • Property
    • Get property details
      GET
    • Get property availability
      POST
    • List property reviews
      GET
  • Properties
    • Get static data for an Account
      GET
    • Get availability for an account
      POST
  • ParityCheck
    • Perform parity check with availability data for a accountId
      POST
    • Check rate parity for a provider
      POST
  • Account
    • PublisherController_getSettings
      GET
    • Get map pins for a Account
      GET
    • Get filters for a Account
      GET
    • Get themes for a Account
      GET
    • Get banners by account
      GET
    • Get landing page by account and slug
      GET
  • Public Account
    • PublicPublisherController_getFilters
      GET
    • PublicPublisherController_getWidget
      GET
  • Auth
    • Authenticate token and secret to get JWT
      POST
    • AuthController_checkJWT
      GET
    • AuthController_refresh
      POST
  • Discount
    • Get grouped discounts
      GET
    • Get all discounts
      GET
    • DiscountController_getViewDiscount
      POST
  • Addons
    • Get products for the authenticated account
    • Get product detail from cache
    • AddOnsController_createOrder
  • Cache
    • CacheController_cleanByPublisher
    • CacheController_refreshByPublisher
    • CacheController_cleanByProperty
    • CacheController_refreshByProperty
  • Book
    • Create new reservation
    • Preview reservation
  • Create a conversation collection
    POST
  • Create a conversation model
    POST
  • search conversation
    POST
  • get a conversation model
    GET
  • semantica search
    POST
  • create product
    POST
  1. Properties

Get availability for an account

POST
/api/account/v4.0/properties/available
Retrieves availability data based on account ID and request body
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/account/v4.0/properties/available' \
--header 'Content-Type: application/json' \
--data-raw '{
    "affiliate": "string",
    "properties": "string",
    "locale": "en_US",
    "promotion": "all",
    "destination_id": 0,
    "checkin": "string",
    "checkout": "string",
    "rooms": [
        {
            "adults": 2,
            "children": 2,
            "child_ages": "4,5"
        },
        {
            "adults": 1,
            "children": 0
        }
    ],
    "discount_code": "SUMMER2024",
    "currency": "USD"
}'
Response Response Example
{
    "data": [
        {
            "data": [
                {
                    "id": 0,
                    "property_parent_id": 0,
                    "property_type_id": 0,
                    "name": "string",
                    "rate": {
                        "total": {
                            "original_nightly_avg": 0,
                            "nightly_avg": 0,
                            "original_subtotal": 0,
                            "original_subtotal_with_taxes": 0,
                            "subtotal_with_taxes": 0,
                            "subtotal": 0,
                            "tax": 0,
                            "tax_currency": "string",
                            "fee": 0,
                            "fee_currency": "string",
                            "balance_due": 0,
                            "checkin_fee": 0,
                            "property_fee": 0,
                            "total": 0,
                            "rebate": 0,
                            "promotional_savings": 0,
                            "discount_savings": 0,
                            "inventory": 0,
                            "showInventoryCount": 0
                        },
                        "promotion": true,
                        "discount": true
                    }
                }
            ],
            "meta_data": {
                "total": 0
            }
        }
    ]
}

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
The data response from the availability endpoint
Body

Modified at 2025-05-22 15:45:10
Previous
Get static data for an Account
Next
Perform parity check with availability data for a accountId
Built with