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
Client
string
required
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.
Occupancies
required
Occupancy numbers for the reservations.
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
OccupancyData
required
List of occupancy data.
AdultCount
number
required
Number of adults. Deprecated!
ChildCount
number
required
Number of children. Deprecated!
Response
OccupancyPrices
required
Pricing information.
Get reservation price
Get a total price for the requested reservations.
Request
[ApiBaseUrl]/api/distributor/v1/reservations/price
Client
string
required
ConfigurationId
string
required
Unique identifier of the Booking Engine configuration used.
CurrencyCode
string
optional
Reservations
required
List of reservations.
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.
OccupancyData
required
List of occupancy data.
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.
TotalAmount
required
Total amount of the reservation.
ProductOrderPrices
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.
ProductName
required
Name of the hotel. Deprecated!
ProductOptions
optional
Product options.
ChargingMode
required
Charging mode of the product. Deprecated!
TotalAmount
required
Total amount of product.
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.
TaxValues
required
Tax values of the amount Deprecated!.
Breakdown.Items
required
List of complete taxes related to this 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
Was this helpful?