Reservations
Get reservations pricing
Get a price quotation for a specific hotel, date interval, room category and person count.
Request
[ApiBaseUrl]/api/distributor/v1/reservations/getPricing
HotelId
string
required
Unique identifier of the hotel.
StartUtc
string
required
Start date of the reservation, i.e. arrival date.
EndUtc
string
required
End date of the reservation, i.e. departure date.
VoucherCode
string
optional
Voucher code enabling special rate offerings.
RoomCategoryId
string
required
Identifier of the requested room category.
ProductIds
array of string
optional
Unique identifiers of the requested products.
AvailabilityBlockId
string
optional
Unique identifier of availability block if present. Provide always when you have it.
Occupancy
AdultCount
number
required
Number of adults. Deprecated!
ChildCount
number
required
Number of children. Deprecated!
Response
Get reservation price
Get a total price for the requested reservations.
Request
[ApiBaseUrl]/api/distributor/v1/reservations/price
ConfigurationId
string
required
Unique identifier of the Booking Engine configuration used.
CurrencyCode
string
optional
ISO 4217 code of the currency in which price will be calculated. Enterprise default currency code is used as default. Supported currency codes
Reservation
AdultCount
number
required
Number of adults. Deprecated!
ChildCount
number
required
Number of children. Deprecated!
Identifier
string
required
Unique identifier for reservation generated on client.
StartUtc
string
required
Start date of the reservation, i.e. arrival date.
EndUtc
string
required
End date of the reservation, i.e. departure date.
ProductIds
array of string
optional
Unique identifiers of products which should be included into reservation price calculations.
VoucherCode
string
optional
Voucher code applied to reservation
RateId
string
required
Identifier of the chosen rate.
RoomCategoryId
string
required
Unique identifier of the room category.
Occupancy Data
AgeCategoryId
string
required
Age category identifier.
PersonCount
number
required
Person count.
Response
ReservationPrice
Identifier
string
optional
Unique identifier for reservation provided in the request data.
AmountToChargeOnConfirmation
optional
Amount that needs to be charged on payment gateway on reservationGroup confirmation.
ProductOrderPrices
array of ProductOrderPricingInfo
required
List of product order prices assigned to the reservation.
ProductOrderPricingInfo
ProductId
string
required
Unique identifier of product.
AgeCategoryId
string
optional
Identifier of age category.
ProductOptions
SelectedByDefault
boolean
optional
If product was selected by default for reservation.
BillAsPackage
boolean
optional
Product is part of a package.
OfferToCustomer
boolean
optional
Product is available in booking engine.
ExcludePriceFromOffer
boolean
optional
Product was not available in booking engine, but it is counted in reservation total price ( eg. CityTax ).
OfferToEmployee
boolean
optional
Product available in Mews Operations.
Amount
Currency
string
required
ISO 4217 code of the currency.
GrossValue
number
required
Gross value of the amount. (Net + sum of TaxValues
).
NetValue
number
required
Net value of the amount.
Complete tax
TaxRateCode
string
required
Unique identifier of Tax Rate Code.
NetValue
number
required
Net amount of product.
TaxValue
number
required
Tax amount of product ( Calculated from NetValue based on TaxRateCode ).
Last updated