Jinko
jinkoJinko provides flight and hotel discovery, trip management, ancillaries, and hosted travel checkout APIs.
Acciones disponibles (13)
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.
Add Trip ItemJINKO_ADD_TRIP_ITEMAcciónAdd one flight or hotel offer to an existing trip. Returns the successful mutation snapshot and a best-effort canonical trip read; if that read fails, the warning confirms the mutation succeeded and must not be retried blindly.
JINKO_ADD_TRIP_ITEMAcciónAdd one flight or hotel offer to an existing trip. Returns the successful mutation snapshot and a best-effort canonical trip read; if that read fails, the warning confirms the mutation succeeded and must not be retried blindly.
Parámetros de entrada
trip_idstringObligatorioExisting Jinko trip identifier.
trip_item_tokenstringObligatorioFlight trip_item_token or hotel offer_id to add to the existing trip.
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
Create Hosted CheckoutJINKO_CREATE_HOSTED_CHECKOUTAcciónQuote a complete trip and create a hosted checkout URL for a person to review and pay. This tool neither opens checkout nor submits payment nor creates a booking; create a fresh checkout if the quote expires.
JINKO_CREATE_HOSTED_CHECKOUTAcciónQuote a complete trip and create a hosted checkout URL for a person to review and pay. This tool neither opens checkout nor submits payment nor creates a booking; create a fresh checkout if the quote expires.
Parámetros de entrada
trip_idstringObligatorioTrip identifier with at least one item, travelers, and contact email and phone.
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
Create TripJINKO_CREATE_TRIPAcciónCreate a new trip containing one flight or hotel offer. Returns the successful mutation snapshot and a best-effort canonical trip read; if that read fails, the warning confirms the mutation succeeded and must not be retried blindly.
JINKO_CREATE_TRIPAcciónCreate a new trip containing one flight or hotel offer. Returns the successful mutation snapshot and a best-effort canonical trip read; if that read fails, the warning confirms the mutation succeeded and must not be retried blindly.
Parámetros de entrada
trip_item_tokenstringObligatorioFlight trip_item_token or hotel offer_id to add as the new trip's first item.
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
Find DestinationsJINKO_FIND_DESTINATIONSAcciónDiscover destinations reachable from one or more origins using cached fare data, with optional dates, budget, cabin, and passenger constraints. Increase offset to request another page; returned_count describes only this page.
JINKO_FIND_DESTINATIONSAcciónDiscover destinations reachable from one or more origins using cached fare data, with optional dates, budget, cabin, and passenger constraints. Increase offset to request another page; returned_count describes only this page.
Parámetros de entrada
limitintegerMaximum destinations requested for this page.
localestringPreferred locale.
offsetintegerNumber of destination results to skip for manual continuation.
originsstring[]ObligatorioOrigin city or airport codes.
sort_bystringenumSort by lowest fare or provider recommendation.
lowestrecommendationcurrencystringPreferred ISO 4217 currency code.
max_totalnumberMaximum total trip price in the requested currency's major units.
stay_daysintegerExact trip length in days; do not combine with stay_days_range.
travelersobjectPassenger counts and optional ages, flattened into the Jinko request.
trip_typestringObligatorioenumWhether to discover one-way or round-trip options.
onewayroundtripcabin_classstringenumRequested cabin class.
economypremium_economybusinessfirstdirect_onlybooleanReturn only direct-flight suggestions when true.
origin_typestringenumInterpret every origin code as a city or an airport.
cityairportdestinationsstring[]Destination city or airport codes to include in discovery.
return_datesstring[]Exact acceptable return dates for a round trip.
departure_datesstring[]Exact acceptable departure dates.
stay_days_rangeobjectAllowed trip-length range; do not combine with stay_days.
destination_typestringenumInterpret every destination code as a city or an airport.
cityairportresidency_countrystringTraveler residency as a two-letter country code.
return_date_rangesobject[]Inclusive acceptable return windows.
departure_date_rangesobject[]Inclusive acceptable departure windows.
flights_per_destinationintegerMaximum priced flight options to include for each destination.
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 Hotel DetailsJINKO_GET_HOTEL_DETAILSAcciónGet descriptive property, policy, facility, image, and room metadata for one hotel. Rooms are descriptive and unpriced; use Search Hotels for current rates and bookable hotel offer IDs.
JINKO_GET_HOTEL_DETAILSAcciónGet descriptive property, policy, facility, image, and room metadata for one hotel. Rooms are descriptive and unpriced; use Search Hotels for current rates and bookable hotel offer IDs.
Parámetros de entrada
checkinstringOptional check-in date in YYYY-MM-DD format to contextualize the property lookup.
checkoutstringOptional check-out date in YYYY-MM-DD format to contextualize the property lookup.
hotel_idstringObligatorioHotel identifier returned by Search Hotels.
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 TripJINKO_GET_TRIPAcciónRead the canonical current state of a trip, including items, travelers, contact, quote and fulfillment state, totals, and booking references. Use this instead of relying on a prior mutation response.
JINKO_GET_TRIPAcciónRead the canonical current state of a trip, including items, travelers, contact, quote and fulfillment state, totals, and booking references. Use this instead of relying on a prior mutation response.
Parámetros de entrada
trip_idstringObligatorioTrip identifier returned by Create Trip.
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
List Trip AncillariesJINKO_LIST_TRIP_ANCILLARIESAcciónCreate or reuse a price quote and list purchasable baggage, seat, meal, and other ancillary offers for a trip without creating checkout. Creating the quote can update the trip's quote state and consume Jinko account credit; completed quotes are reused while valid. If Jinko is still pricing, this tool polls until ready or times out; it never returns a hosted checkout URL.
JINKO_LIST_TRIP_ANCILLARIESAcciónCreate or reuse a price quote and list purchasable baggage, seat, meal, and other ancillary offers for a trip without creating checkout. Creating the quote can update the trip's quote state and consume Jinko account credit; completed quotes are reused while valid. If Jinko is still pricing, this tool polls until ready or times out; it never returns a hosted checkout URL.
Parámetros de entrada
trip_idstringObligatorioTrip identifier containing a flight item.
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
Remove Trip ItemJINKO_REMOVE_TRIP_ITEMAcciónRemove one flight or hotel item from an existing trip. This is destructive. Returns the successful mutation snapshot and a best-effort canonical trip read; if that read fails, do not retry blindly and reconcile with Get Trip.
JINKO_REMOVE_TRIP_ITEMAcciónRemove one flight or hotel item from an existing trip. This is destructive. Returns the successful mutation snapshot and a best-effort canonical trip read; if that read fails, do not retry blindly and reconcile with Get Trip.
Parámetros de entrada
item_idstringObligatorioIdentifier of the item to remove from the trip.
trip_idstringObligatorioExisting Jinko trip identifier.
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
Replace Trip Travelers and ContactJINKO_REPLACE_TRIP_TRAVELERS_AND_CONTACTAcciónReplace an existing trip's complete traveler list and optionally its booking contact. Travelers cannot be empty. Returns the successful mutation snapshot and a best-effort canonical read; a read warning must not trigger a blind retry.
JINKO_REPLACE_TRIP_TRAVELERS_AND_CONTACTAcciónReplace an existing trip's complete traveler list and optionally its booking contact. Travelers cannot be empty. Returns the successful mutation snapshot and a best-effort canonical read; a read warning must not trigger a blind retry.
Parámetros de entrada
contactobjectOptional replacement booking contact; checkout later requires email and phone.
trip_idstringObligatorioExisting Jinko trip identifier.
travelersobject[]ObligatorioComplete non-empty traveler list that replaces the trip's current travelers.
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 Flight CalendarJINKO_SEARCH_FLIGHT_CALENDARAcciónSearch cached priced itineraries for known origins and destinations across exact or flexible dates. This does not live-price fares; pass an itinerary's offer token to Search Flights before adding a fare to a trip.
JINKO_SEARCH_FLIGHT_CALENDARAcciónSearch cached priced itineraries for known origins and destinations across exact or flexible dates. This does not live-price fares; pass an itinerary's offer token to Search Flights before adding a fare to a trip.
Parámetros de entrada
limitintegerMaximum cached itineraries requested for this page.
localestringPreferred locale.
offsetintegerNumber of cached itineraries to skip for manual continuation.
originsstring[]ObligatorioOrigin city or airport codes, such as NYC or JFK.
sort_bystringenumSort by lowest fare or provider recommendation.
lowestrecommendationcurrencystringPreferred ISO 4217 currency code.
max_totalnumberMaximum total itinerary price in major currency units.
stay_daysintegerExact trip length in days; do not combine with stay_days_range.
travelersobjectPassenger counts and optional ages. These fields are flattened into the provider request.
trip_typestringObligatorioenumWhether to search one-way or round-trip itineraries.
onewayroundtripcabin_classstringenumRequested cabin class.
economypremium_economybusinessfirstdirect_onlybooleanReturn only direct itineraries when true.
origin_typestringenumInterpret every origin code as a city or an airport.
cityairportdestinationsstring[]ObligatorioDestination city or airport codes, such as LAX.
return_datesstring[]Exact acceptable return dates, each as YYYY-MM-DD.
departure_datesstring[]Exact acceptable departure dates, each as YYYY-MM-DD.
stay_days_rangeobjectAllowed trip-length range; do not combine with stay_days.
destination_typestringenumInterpret every destination code as a city or an airport.
cityairportresidency_countrystringTraveler residency as a two-letter country code.
return_date_rangesobject[]Inclusive acceptable return windows.
departure_date_rangesobject[]Inclusive acceptable departure windows.
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 FlightsJINKO_SEARCH_FLIGHTSAcciónGet live flight offers either by searching a route or by re-pricing one cached discovery offer. Provide exactly one of search or offer_token; re-pricing can return multiple alternatives and exact_match_found may be false.
JINKO_SEARCH_FLIGHTSAcciónGet live flight offers either by searching a route or by re-pricing one cached discovery offer. Provide exactly one of search or offer_token; re-pricing can return multiple alternatives and exact_match_found may be false.
Parámetros de entrada
searchobjectLive route-search inputs. Provide this object or offer_token, never both.
offer_tokenstringCached offer token from Find Destinations or Search Flight Calendar to re-price. Provide this or search, never both; no search fields are sent in this mode.
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 HotelsJINKO_SEARCH_HOTELSAcciónSearch live hotel availability and priced room rates for dates, occupancy, and one location selector. Pass next_cursor by itself to continue the same search using Jinko's exact next offset.
JINKO_SEARCH_HOTELSAcciónSearch live hotel availability and priced room rates for dates, occupancy, and one location selector. Pass next_cursor by itself to continue the same search using Jinko's exact next offset.
Parámetros de entrada
checkinstringdateCheck-in date for the first page; omit when continuing with next_cursor.
checkoutstringdateCheck-out date after check-in for the first page; omit when continuing with next_cursor.
currencystringPreferred ISO 4217 currency code.
locationobjectLocation for the first page. Choose exactly one selector type; omit when continuing with next_cursor.
chain_idsstring[]Allowed hotel chain identifiers.
min_ratingnumberMinimum guest review rating.
max_resultsintegerMaximum hotels requested for this page. The provider may advance by a different offset.
min_reviewsintegerMinimum number of guest reviews.
next_cursorstringOpaque continuation returned by a previous call. Pass it alone to restore the original search and use Jinko's exact next offset.
occupanciesobject[]One object per room, with adult count and optional child ages.
star_ratingintegerExact hotel star rating.
facility_idsstring[]Required provider facility identifiers.
hotel_type_idsstring[]Allowed provider hotel type identifiers.
max_star_ratingintegerMaximum hotel star rating.
min_star_ratingintegerMinimum hotel star rating.
guest_nationalitystringGuest nationality as a two-letter country code for rate eligibility.
max_budget_per_nightnumberMaximum nightly price per room in the requested currency's major units.
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
Select AncillariesJINKO_SELECT_ANCILLARIESAcciónReplace the ancillary selections for one trip item using offer IDs from List Trip Ancillaries. This updates the quoted trip price but does not create checkout or submit payment.
JINKO_SELECT_ANCILLARIESAcciónReplace the ancillary selections for one trip item using offer IDs from List Trip Ancillaries. This updates the quoted trip price but does not create checkout or submit payment.
Parámetros de entrada
item_idstringObligatorioTrip item identifier whose ancillary selections are changing.
trip_idstringObligatorioTrip identifier returned by Create Trip.
selectionsobject[]ObligatorioComplete set of ancillary offers to keep selected for this item; omitted prior selections are removed.
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