Get a quote
get
https://api.konghotels.cloud/quotes/{quoteId}
Path Parameters
quoteIdstringrequired
Match pattern:^qt_
Example:qt_01jbx4m6n2kz9v8c7d5e3f1g0h
Response
application/json
Response
application/json
The quote. state is open, expired or booked.
dataobject
Show Child Parameters
get/quotes/{quoteId}
Authentication
Path Parameters
application/json
Hold inventory
Write. Takes a quote’s rooms off sale for KONG_HOLD_TTL_MINUTES (15 by default) so they can’t
be sold to anyone else while your guest completes payment. The quote stays bookable for at least
as long as the hold. One active hold per quote.
post
https://api.konghotels.cloud/holds
Headers
Idempotency-Keystring
Optional. Makes the request safe to retry for 24 hours.
<= 255 characters
Example:8e03978e-40d5-43e8-bc93-6894a57f9324
Body
application/json
Body
application/json
quote_idstringrequired
Example:qt_01jbx4m6n2kz9v8c7d5e3f1g0h
Response
application/json
Response
application/json
Hold created.
dataobject
Show Child Parameters
post/holds
Authentication
Headers
Body
{
"quote_id": "qt_01jbx4m6n2kz9v8c7d5e3f1g0h"
}
application/json
Get a hold
get
https://api.konghotels.cloud/holds/{holdId}
Path Parameters
holdIdstringrequired
Match pattern:^hld_
Response
application/json
Response
application/json
The hold. status is active, released, converted or expired.
dataobject
Show Child Parameters
get/holds/{holdId}
Authentication
Path Parameters
application/json
Release a hold
Write. Returns the held rooms to inventory immediately. Do this when a guest abandons checkout.
delete
https://api.konghotels.cloud/holds/{holdId}
Path Parameters
holdIdstringrequired
Match pattern:^hld_
Response
application/json
Response
application/json
Released hold.
dataobject
Show Child Parameters
delete/holds/{holdId}
Authentication
Path Parameters
application/json
Reservations
Book, retrieve, modify and cancel stays.