HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
book_response
Response payload confirming the lodging reservation with detailed booking information.
Fields
response_idUnique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.
123e4567-e89b-12d3-a456-426614174000order_idUnique Hopper-generated order id corresponding to the booking order
L2J982VT3J28booking_warningsNon-fatal issues encountered while creating this booking. The reservation is confirmed regardless; an empty or absent list means no issues. Warnings describe what happened at booking time and are not repeated on the order.
Show fields
typeWhich warning this is, and therefore which sub-field below is populated.
loyalty_not_applied: a loyalty membership supplied on the book request was rejected.
loyalty_not_applied · Example loyalty_not_appliedloyalty_not_appliedA loyalty membership supplied on the book request was rejected. The reservation is confirmed; the stay will not be credited to that membership.
This warning is only emitted where the outcome is known. Pass-through is best effort: most supply sources never confirm either way, and silence produces no warning — so the absence of one means we sent what we could and have nothing to report, not that the stay was credited.
Show fields
reasonWhy the membership was rejected. This is a non-exhaustive list of enum values, which will be extended in the future.
not_supported_for_rate: the booking path for this rate cannot transmit a loyalty membership. Known in advance whenloyalty.loyalty_transmissionon the quote wasineligible; where it wasunknownthis may be the first confirmation.id_not_found: the membership number was not recognised.invalid_format: the membership number was malformed for this program.unspecified: rejected for a reason that does not map to the values above.
not_supported_for_rateid_not_foundinvalid_formatunspecified · Example id_not_found{
"response_id": "123e4567-e89b-12d3-a456-426614174000",
"order_id": "L2J982VT3J28",
"booking_warnings": [
{
"type": "loyalty_not_applied",
"loyalty_not_applied": {
"reason": "id_not_found"
}
}
]
}