Blue Pillow Hotels & Stays
bluepillowBlue Pillow provides AI agents with hotel and stay discovery, live offer comparison, recommendations, validation, and tracked booking handoff.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Booking HandoffBLUEPILLOW_CREATE_BOOKING_HANDOFFAcciónCreate only a tracked Blue Pillow handoff link for the user to continue the booking process. This does not reserve a room, confirm a reservation, or collect payment.
BLUEPILLOW_CREATE_BOOKING_HANDOFFAcciónCreate only a tracked Blue Pillow handoff link for the user to continue the booking process. This does not reserve a room, confirm a reservation, or collect payment.
Parámetros de entrada
otastringPreferred OTA from a current offer. Omit it to let Blue Pillow choose the best price.
datesobjectObligatorioStay dates to embed in the handoff link.
guestsobjectObligatorioRoom occupancy to embed in the handoff link.
property_idstringObligatorioBlue Pillow property ID the user chose.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Discover Destinations Near CoordinatesBLUEPILLOW_DISCOVER_DESTINATIONS_NEARAcciónFind cities, neighborhoods, airports, or points of interest near geographic coordinates.
BLUEPILLOW_DISCOVER_DESTINATIONS_NEARAcciónFind cities, neighborhoods, airports, or points of interest near geographic coordinates.
Parámetros de entrada
languagestringenumLanguage for destination names and display labels.
enitfrdeesptnlkopljalatitudenumberObligatorioLatitude from -90 to 90.
longitudenumberObligatorioLongitude from -180 to 180.
radius_kmnumberPositive search radius in kilometers.
destination_typestringenumRestrict candidates to one destination type.
cityneighborhoodairportpoi
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PropertyBLUEPILLOW_GET_PROPERTYAcciónGet canonical details and optional review enrichments for one property; use search or hotel recommendation for live availability.
BLUEPILLOW_GET_PROPERTYAcciónGet canonical details and optional review enrichments for one property; use search or hotel recommendation for live availability.
Parámetros de entrada
includestring[]Review enrichments to include. reviews_extended supersedes reviews_sample; the list is sent as one comma-separated query value.
currencystringISO 4217 pricing currency; defaults from user_country and then to USD.
languagestringTwo-letter lowercase language code.
property_idstringObligatorioBlue Pillow property ID returned by search or recommendation, normally prefixed prop_.
user_countrystringISO 3166 alpha-2 country for booking-link locale and default pricing currency.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Recommend Offer for PropertyBLUEPILLOW_RECOMMEND_OFFER_FOR_PROPERTYAcciónCompare live OTA offers and recommend the best offer for a property the user has already selected. This endpoint has no locale or currency input, so Blue Pillow applies provider defaults; use the currency returned in the response.
BLUEPILLOW_RECOMMEND_OFFER_FOR_PROPERTYAcciónCompare live OTA offers and recommend the best offer for a property the user has already selected. This endpoint has no locale or currency input, so Blue Pillow applies provider defaults; use the currency returned in the response.
Parámetros de entrada
datesobjectObligatorioStay dates; check_out must be after check_in.
guestsobjectObligatorioRoom occupancy for the stay.
property_idstringObligatorioSelected Blue Pillow property ID returned by search or recommendation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Recommend StayBLUEPILLOW_RECOMMEND_STAYAcciónRank a location to one recommended stay plus alternatives. A recommendation may have no live price and unknown availability, so validate an offer before booking handoff.
BLUEPILLOW_RECOMMEND_STAYAcciónRank a location to one recommended stay plus alternatives. A recommendation may have no live price and unknown availability, so validate an offer before booking handoff.
Parámetros de entrada
datesobjectObligatorioStay dates; check_out must be after check_in.
guestsobjectObligatorioRoom occupancy for the stay.
contextobjectOptional locale and agent context. When supplied, end_user_country and currency are both required.
locationobjectObligatorioRecommendation location. Destination IDs can come from Resolve Destination.
constraintsobjectOptional price, rating, property, amenity, cancellation, and OTA constraints.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resolve DestinationBLUEPILLOW_RESOLVE_DESTINATIONAcciónResolve a place name into destination IDs for stay search, including ambiguity and confidence information.
BLUEPILLOW_RESOLVE_DESTINATIONAcciónResolve a place name into destination IDs for stay search, including ambiguity and confidence information.
Parámetros de entrada
namestringObligatorioPlace name to resolve, such as a city, neighborhood, airport, or point of interest.
countrystringOptional country bias used to disambiguate the place name.
languagestringenumLanguage for destination names and display labels.
enitfrdeesptnlkopljadestination_typestringenumRestrict candidates to a city, neighborhood, airport, or point of interest.
cityneighborhoodairportpoi
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search StaysBLUEPILLOW_SEARCH_STAYSAcciónSearch one page of ranked live stay inventory with availability, prices, OTA offers, and an opaque cursor for more results.
BLUEPILLOW_SEARCH_STAYSAcciónSearch one page of ranked live stay inventory with availability, prices, OTA offers, and an opaque cursor for more results.
Parámetros de entrada
sortstringenumRanking order for results.
score_descprice_ascrating_descconversion_descdatesobjectStay dates, required for an initial search and omitted for a cursor-only continuation; check_out must be after check_in.
limitintegerMaximum results in this page, from 1 to 100.
guestsobjectRoom occupancy, required for an initial search and omitted for a cursor-only continuation.
filtersobjectOptional result filters.
currencystringUppercase ISO 4217 currency for returned prices.
languagestringTwo-letter lowercase response language code.
locationobjectSearch location, required for an initial search and omitted for a cursor-only continuation. Prefer a destination_id returned by Resolve Destination.
next_cursorstringOpaque cursor returned by a previous call. It restores the original search criteria, so continuation may provide this field alone.
user_countrystringUppercase ISO 3166 alpha-2 country for locale and default currency.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate OfferBLUEPILLOW_VALIDATE_OFFERAcciónRe-price a previously seen EUR offer and report whether it remains valid within the provider's two-percent tolerance.
BLUEPILLOW_VALIDATE_OFFERAcciónRe-price a previously seen EUR offer and report whether it remains valid within the provider's two-percent tolerance.
Parámetros de entrada
datesobjectObligatorioExact stay dates associated with the observed offer.
guestsobjectObligatorioExact room occupancy associated with the observed offer.
property_idstringObligatorioBlue Pillow property ID for the observed offer.
offer_to_compareobjectObligatorioPreviously observed offer expressed in EUR. A numeric amount from another currency must be converted to EUR before comparison.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not