Hold the nights for the visitor; limited per visitor
post/public/lodging/holds
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:read- Graphql
Mutation.holdPublicStay- Sdk
bookings.publicStay.hold- Cli
bookings public stay hold- Publishable
yes
Request bodyapplication/json, required
- propertyIdstring (uuid)required
- roomTypeIdstring (uuid)required
- ratePlanIdstring (uuid)required
- arrivalstringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- departurestringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- adultsintegerDefault: 2. At least 1. At most 20.
- childrenintegerDefault: 0. At least 0. At most 20.
- infantsintegerDefault: 0. At least 0. At most 10.
- promoCodestringAt most 24 characters.
- extraslist of objectDefault: [].
- extraIdstring (uuid)required
- quantityintegerDefault: 1. At least 1. At most 50.
- quotestringAt most 4000 characters.
- idempotencyKeystringrequiredAt most 120 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring