POST/v1/hotels/check/:gdsprovider

Revalidar oferta de hotel

Revalida ofertas de habitación antes de reservar para confirmar disponibilidad, cambios de precio y elegibilidad de booking.

Revalida ofertas de habitación antes de reservar para confirmar disponibilidad, cambios de precio y elegibilidad de booking.

Endpoint

MétodoRutaAuth
POST/v1/hotels/check/:gdsproviderAPI key requerida
Headers obligatorios:
HeaderDescripción
AuthorizationBearer <secret_key>. The secret is shown only once when the credential is created.
X-Travelandz-Id<public_key>:<profile_code>. The profile_code is the dp_-prefixed Developer Profile code shown in your dashboard. This binds the request to a profile and credential.
Content-TypeUse application/json for requests with a body.

Esquema de parámetros de la petición

PropiedadTipoDetallesRequeridoNotas
gdsprovidernumber-

Esquema del cuerpo de la petición

PropiedadTipoDetallesRequeridoNotas
offersarray-
offers[]gdsprovider
number-
offers[]hotelCode
string-
offers[]rateKey
string-
offers[]adults
number-
offers[]children
number-
offers[]name
string-
offers[]board
string-
offers[]totalPrice
number-
offers[]originalPrice
numberNo-
offers[]currency
enum
EURUSDCNY
-
offers[]originalCurrency
enum
EURUSDCNY
No-
offers[]supplements
array-
offers[]supplements[]description
string-
offers[]supplements[]price
number-
offers[]supplements[]currency
string-
offers[]cancellationPolicies
array-
offers[]cancellationPolicies[]amount
number-
offers[]cancellationPolicies[]fromDate
string
Format: ISO 8601
-
offers[]isRefundable
boolean-
checkInstring
Format: YYYY-MM-DD
-
checkOutstring
Format: YYYY-MM-DD
-

Respuesta exitosa

Devuelve the revalidated rate, price and booking eligibility.

Esquema del cuerpo de la respuesta

PropiedadTipoDetallesRequeridoNotas
availableboolean-
ratesConditionsarray-
ratesConditions[]rateKey
string-
ratesConditions[]conditions
array-
ratesConditions[]conditions[]
string[]-
pricesChangedarray-
pricesChanged[]rateKey
string-
pricesChanged[]newPrice
array-
pricesChanged[]newPrice[]
number[]-
ratesUnavailablearray-
ratesUnavailable[]rateKey
string-