Show booking
const url = 'https://integrations.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/channel-manager/booking/f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://integrations.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/channel-manager/booking/f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92 \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Returns the single booking identified by the given booking ID for the given property.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Property identifier (UUID)
Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18Booking identifier (UUID)
Example
f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Booking ID
Property ID
Master Rate ID
Master Rate name
Guest room name
Rate plan name
Number of rooms in booking
Total number of guests (adults and children)
Number of adults in booking
Number of children in booking
First name of primary guest
Last name of primary guest
Email address of primary guest
Total booking amount in supplier currency
Supplier currency code
User-friendly booking confirmation code
Room check-in date (arrival)
Room check-out date (departure)
Timestamp when booking was created
Whether the booking is cancelled
Timestamp when booking was cancelled (null if not cancelled)
Payment method type (e.g. Card, Direct Debit)
Payment wallet provider if applicable (e.g. Google Pay, Apple Pay)
Payment transaction status
Sales channel name (bookable inventory source)
Sales channel ID
Example
{ "bookingIdentifier": "", "propertyIdentifier": "", "roomRateIdentifier": "", "name": "", "guestRoomName": "", "ratePlanName": "", "rooms": "", "guests": "", "adults": "", "children": "", "firstName": "", "lastName": "", "email": "", "amount": "", "currencyCode": "", "bookingCode": "", "startDate": "", "endDate": "", "createdDate": "", "cancelled": false, "cancelDate": "", "paymentMethodType": "", "paymentWalletType": "", "paymentMethodStatus": "INITIALIZED", "salesChannelName": "", "salesChannelIdentifier": ""}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}