Volver al catálogo

Blue Pillow Hotels & Stays

bluepillow

Blue Pillow provides AI agents with hotel and stay discovery, live offer comparison, recommendations, validation, and tracked booking handoff.

Acciones
8
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Create 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

  • otastring

    Preferred OTA from a current offer. Omit it to let Blue Pillow choose the best price.

  • datesobjectObligatorio

    Stay dates to embed in the handoff link.

  • guestsobjectObligatorio

    Room occupancy to embed in the handoff link.

  • property_idstringObligatorio

    Blue Pillow property ID the user chose.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Discover Destinations Near CoordinatesBLUEPILLOW_DISCOVER_DESTINATIONS_NEARAcción

Find cities, neighborhoods, airports, or points of interest near geographic coordinates.

Parámetros de entrada

  • languagestringenum

    Language for destination names and display labels.

    enitfrdeesptnlkoplja
  • latitudenumberObligatorio

    Latitude from -90 to 90.

  • longitudenumberObligatorio

    Longitude from -180 to 180.

  • radius_kmnumber

    Positive search radius in kilometers.

  • destination_typestringenum

    Restrict candidates to one destination type.

    cityneighborhoodairportpoi

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PropertyBLUEPILLOW_GET_PROPERTYAcción

Get 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.

  • currencystring

    ISO 4217 pricing currency; defaults from user_country and then to USD.

  • languagestring

    Two-letter lowercase language code.

  • property_idstringObligatorio

    Blue Pillow property ID returned by search or recommendation, normally prefixed prop_.

  • user_countrystring

    ISO 3166 alpha-2 country for booking-link locale and default pricing currency.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Recommend Offer for PropertyBLUEPILLOW_RECOMMEND_OFFER_FOR_PROPERTYAcción

Compare 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

  • datesobjectObligatorio

    Stay dates; check_out must be after check_in.

  • guestsobjectObligatorio

    Room occupancy for the stay.

  • property_idstringObligatorio

    Selected Blue Pillow property ID returned by search or recommendation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Recommend StayBLUEPILLOW_RECOMMEND_STAYAcción

Rank 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

  • datesobjectObligatorio

    Stay dates; check_out must be after check_in.

  • guestsobjectObligatorio

    Room occupancy for the stay.

  • contextobject

    Optional locale and agent context. When supplied, end_user_country and currency are both required.

  • locationobjectObligatorio

    Recommendation location. Destination IDs can come from Resolve Destination.

  • constraintsobject

    Optional price, rating, property, amenity, cancellation, and OTA constraints.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resolve DestinationBLUEPILLOW_RESOLVE_DESTINATIONAcción

Resolve a place name into destination IDs for stay search, including ambiguity and confidence information.

Parámetros de entrada

  • namestringObligatorio

    Place name to resolve, such as a city, neighborhood, airport, or point of interest.

  • countrystring

    Optional country bias used to disambiguate the place name.

  • languagestringenum

    Language for destination names and display labels.

    enitfrdeesptnlkoplja
  • destination_typestringenum

    Restrict candidates to a city, neighborhood, airport, or point of interest.

    cityneighborhoodairportpoi

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search StaysBLUEPILLOW_SEARCH_STAYSAcción

Search one page of ranked live stay inventory with availability, prices, OTA offers, and an opaque cursor for more results.

Parámetros de entrada

  • sortstringenum

    Ranking order for results.

    score_descprice_ascrating_descconversion_desc
  • datesobject

    Stay dates, required for an initial search and omitted for a cursor-only continuation; check_out must be after check_in.

  • limitinteger

    Maximum results in this page, from 1 to 100.

  • guestsobject

    Room occupancy, required for an initial search and omitted for a cursor-only continuation.

  • filtersobject

    Optional result filters.

  • currencystring

    Uppercase ISO 4217 currency for returned prices.

  • languagestring

    Two-letter lowercase response language code.

  • locationobject

    Search location, required for an initial search and omitted for a cursor-only continuation. Prefer a destination_id returned by Resolve Destination.

  • next_cursorstring

    Opaque cursor returned by a previous call. It restores the original search criteria, so continuation may provide this field alone.

  • user_countrystring

    Uppercase ISO 3166 alpha-2 country for locale and default currency.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate OfferBLUEPILLOW_VALIDATE_OFFERAcción

Re-price a previously seen EUR offer and report whether it remains valid within the provider's two-percent tolerance.

Parámetros de entrada

  • datesobjectObligatorio

    Exact stay dates associated with the observed offer.

  • guestsobjectObligatorio

    Exact room occupancy associated with the observed offer.

  • property_idstringObligatorio

    Blue Pillow property ID for the observed offer.

  • offer_to_compareobjectObligatorio

    Previously observed offer expressed in EUR. A numeric amount from another currency must be converted to EUR before comparison.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not