GetRates() returns the rates for a unit or list of units and date range. The start_date and end_date are dates of stay, not the check_in and check_out dates of a possible itinerary. Use GetQuote() to specify an itinerary.
REQUEST
End Point https://www.availabilityexchange.com/gateway/getrates Parameters business_id (64-bit integer) the unique identifier for this business unit_id (32-bit integer) the unique unit id. More than one id can be specified unit_group_id (32-bit integer) the unique unit group id. More than one id can be specified. At most one of unit_id and unit_group_id can be specified. If both are omitted, availability will be provided in the default terms for the property, depending on whether or not they have unit groups configured start_date (date YYYY-MM-dd) first date of date range end_date (date YYYY-MM-dd) last date of the date range num_adults (32-bit integer, optional) number of adults the rate includes
response_errors (See Response Errors) rate_adjustment (string) the amount or percentage that the property increases or decreases rates globally for your channel. default_rate (decimal) the default nightly rate query_start (date YYYY-MM-dd) the first date these rates apply to query_end (date YYYY-MM-dd) the last date these rates apply to rates (list of objects) list of rate objects unit_id (32-bit integer) the unique identifier for the unit rate (decimal) the nightly rate start (date YYYY-MM-dd) the first date this rate applies to end (date YYYY-MM-dd) the last date this rate applies to number_of_adults (32-bit integer) the base number of adults for this rate extra_adult_rate (decimal) amount added for each extra adult after number_of_adults
*This field is only available to partners who act as resellers and do not display booking rates directly to guests, and is hidden by default. Please contact us if you believe you qualify to receive this information