HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
round_trip
Fields
typevalue: round_trip
originIATA airport code of origin.
[A-Z]{3}destinationIATA airport code of destination.
[A-Z]{3}departure_dateLocal date of departure from origin.
return_dateLocal date of return from destination.
previous_slice_offer_idUsed when the partner's booking flow is merchandised one slice at a time. When generating synthetic fares for the outgoing slice, this field should be empty. If the customer has chosen a synthetic fare for the outgoing slice, the CFAR offer id of the chosen synthetic fare should be stored and passed back into this field when generating synthetic fares for the return slice. The final output will be an offer for the entire itinerary, progressively built from each of the slice selections.
{
"type": "string",
"origin": "BOS",
"destination": "LGA",
"departure_date": "2024-04-22",
"return_date": "2024-04-29",
"previous_slice_offer_id": "string"
}