Report unavailable
const url = 'https://api.wink.travel/api/inventory/unavailable';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"propertyIdentifier":"","propertyName":"","inventoryName":"","inventoryType":"","inventoryIdentifier":"","userSession":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/inventory/unavailable \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "propertyIdentifier": "", "propertyName": "", "inventoryName": "", "inventoryType": "", "inventoryIdentifier": "", "userSession": null }'Notifies the property that a guest searched but found no available supply for the requested inventory, capturing the itinerary and guest counts from the request so the host can review their availability.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Property identifier
Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18Property name
Example
The Siam Residences, BangkokInventory name
Example
Deluxe SuiteType of inventory (e.g., room, ancillary)
Example
roomInventory identifier
Example
8b1d6e0f-3a7c-4d2b-9e5a-1c8f0b4d6e29User session information containing itinerary and other user related data.
object
Dates and travel info.
object
Check-in date (must be today or in the future)
Example
2026-07-15Check-out date (alternative to nights; nights takes precedence if both provided)
Example
2026-07-18Number of nights for the stay (alternative to endDate; takes precedence if both provided)
Example
3Room configurations for each room in the reservation
Room occupancy and guest composition for a single or multiple identical rooms
object
Number of adult guests in this room type
Example
2Child guests in this room, with age groups
Child guest with age and quantity in a room configuration
object
Count of children of this age group in the room
Example
2Age of each child in this group (years)
Example
7Number of identical rooms with this configuration
Example
1Duration in hours (rounded up) between check-in and check-out. Used for hourly bookings; e.g., meeting rooms or day-use venues.
Example
72Total number of children across all rooms
Example
1Total number of rooms in this itinerary
Example
2Total number of adult guests across all rooms
Example
4User’s language preference (ISO 639-1 code)
Example
enUser’s currency preference (ISO 4217 code)
Example
USDIndex of the currently selected room configuration for rate retrieval
Example
0Preferred lifestyle category to filter accommodations
Example
LIFESTYLE_RELAXResponses
Section titled “ Responses ”Unavailability notification sent successfully
object
Property identifier
Property name
Inventory name
Type of inventory (e.g., room, ancillary)
Inventory identifier
User session information containing itinerary and other user related data.
object
Dates and travel info.
object
Check-in date (must be today or in the future)
Check-out date (alternative to nights; nights takes precedence if both provided)
Number of nights for the stay (alternative to endDate; takes precedence if both provided)
Room configurations for each room in the reservation
Room occupancy and guest composition for a single or multiple identical rooms
object
Number of adult guests in this room type
Child guests in this room, with age groups
Child guest with age and quantity in a room configuration
object
Count of children of this age group in the room
Age of each child in this group (years)
Number of identical rooms with this configuration
Duration in hours (rounded up) between check-in and check-out. Used for hourly bookings; e.g., meeting rooms or day-use venues.
Total number of children across all rooms
Total number of rooms in this itinerary
Total number of adult guests across all rooms
User’s language preference (ISO 639-1 code)
User’s currency preference (ISO 4217 code)
Index of the currently selected room configuration for rate retrieval
Preferred lifestyle category to filter accommodations
Example
{ "propertyIdentifier": "", "propertyName": "", "inventoryName": "", "inventoryType": "", "inventoryIdentifier": "", "userSession": null}Invalid request body
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
{}