Skip to content

Update

PUT
/api/managing-entity/{managingEntityIdentifier}/studio/dynamic-list/{listIdentifier}
curl --request PUT \
--url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/dynamic-list/3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data null

Updates an existing saved search identified by its identifier with the supplied filters.

managingEntityIdentifier
required
string
""

Update search owned by this managing entity.

Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69
listIdentifier
required
string
""

Saved search identifier.

Example
3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

Updated dynamic list definition with revised filter criteria, sorting rules and display settings

Media typeapplication/json

Request payload to create or update a dynamic inventory search list with filter criteria and sort preferences.

object
aggregateReviewRating

Filter on aggregate review score the hotel has

integer format: int32
""
Example
8
architecturalStyles

Supported OTA specification ARC code. See OTA geoname data

Array<string>
""
Example
50
cities

City filter

Array<string>
continents

Continent filter

Array<string>
countries

Country filter

Array<string>
hotelCategories

Supported OTA specification PCT code. See OTA geoname data

Array<string>
""
Example
1
hotelStars

Filter on number of stars the hotel has.

integer format: int32
""
Example
5
inventoryName

Regex expression filter matching on inventory name

string
""
Example
Deluxe Suite
inventoryTypes

Filter on inventory types

Array<string>
Allowed values: GUEST_ROOM ADD_ON MEETING_ROOM RESTAURANT SPA ATTRACTION PLACE ACTIVITY
lifestyles

Filter on lifestyles

Array<string>
""
Allowed values: LIFESTYLE_HEALTH_FITNESS LIFESTYLE_RELAX LIFESTYLE_ADULT_ONLY LIFESTYLE_ADVENTURE LIFESTYLE_BUSINESS LIFESTYLE_LGBT LIFESTYLE_SINGLE_PARENT LIFESTYLE_SOLO_FEMALE LIFESTYLE_BEAUTY LIFESTYLE_FOODIE LIFESTYLE_FAMILY LIFESTYLE_ROMANCE LIFESTYLE_COUPLE LIFESTYLE_SOLO LIFESTYLE_BACKPACKER LIFESTYLE_SHOPPING LIFESTYLE_SPORTS LIFESTYLE_MOUNTAIN LIFESTYLE_BEACH LIFESTYLE_CITY LIFESTYLE_COUNTRY LIFESTYLE_CULTURE LIFESTYLE_ECO
Example
LIFESTYLE_RELAX
locationCategories

Supported OTA specification LOC code. See OTA geoname data

Array<string>
""
Example
1701
name
required

Name of dynamic list for when user want to persist it

string
"" >= 1 characters
Example
Bangkok Luxury Hotels
nearPoint

Find hotels close to certain location

object
coordinates
Array<number>
type
string
x
number format: double
y
number format: double
primaryOrderBy

Control how you want the search results sorted. Options are:

  • 1: Inventory name
  • 2: Price: High to low
  • 3: Price: Low to high
  • 4: Commission: High to low
  • 5: Commission: Low to high
  • 6: Discount: High to low
  • 7: Discount: Low to high
string
""
Example
4
propertyName

Regex expression filter matching on property name.

string
""
Example
The Siam
radiusInMeters

Use this in conjunction with nearPoint. Control the distance from point we are searching for.

integer format: int64
0
Example
5000
segmentCategories

Supported OTA specification SEG code. See OTA geoname data

Array<string>
""
Example
7
showChildFriendly

Filter on child-friendly hotels

boolean
Example
false
showDirectOnly

Filter on direct inventory

boolean
Example
false
showEcoFriendly

Filter on eco-friendly hotels

boolean
Example
false
showPetFriendly

Filter on pet-friendly hotels

boolean
Example
false
showPopular

Filter on hotel that has had a certain amount of bookings

boolean
Example
false
Example
{
"aggregateReviewRating": 8,
"architecturalStyles": 50,
"cities": [
"1609350"
],
"continents": [
"AS"
],
"countries": [
"1605651"
],
"hotelCategories": 1,
"hotelStars": 5,
"inventoryName": "Deluxe Suite",
"inventoryTypes": [
"GUEST_ROOM"
],
"lifestyles": "LIFESTYLE_RELAX",
"locationCategories": 1701,
"name": "Bangkok Luxury Hotels",
"primaryOrderBy": "4",
"propertyName": "The Siam",
"radiusInMeters": 5000,
"segmentCategories": 7,
"showChildFriendly": false,
"showDirectOnly": false,
"showEcoFriendly": false,
"showPetFriendly": false,
"showPopular": false
}

Saved search updated successfully.

Media typeapplication/json

Lightweight projection of a saved dynamic inventory search, including all filter criteria and sort preferences.

object
aggregateReviewRating

Filter on aggregate review score the hotel has

integer format: int32
""
architecturalStyles

Supported OTA specification ARC code. See OTA geoname data

Array<string>
""
cities

City filter

Array<string>
continents

Continent filter

Array<string>
countries

Country filter

Array<string>
createdDate

Datetime this record was first created

string | null format: date-time
""
hotelCategories

Supported OTA specification PCT code. See OTA geoname data

Array<string>
""
hotelStars

Filter on number of stars the hotel has.

integer format: int32
""
id

Unique identifier for this record.

string format: uuid
""
inventoryName

Regex expression filter matching on inventory name

string
""
inventoryTypes

Filter on inventory types

Array<string>
Allowed values: GUEST_ROOM ADD_ON MEETING_ROOM RESTAURANT SPA ATTRACTION PLACE ACTIVITY
lastUpdate

Datetime this record was last updated

string | null format: date-time
""
lifestyles

Filter on lifestyles

Array<string>
""
Allowed values: LIFESTYLE_HEALTH_FITNESS LIFESTYLE_RELAX LIFESTYLE_ADULT_ONLY LIFESTYLE_ADVENTURE LIFESTYLE_BUSINESS LIFESTYLE_LGBT LIFESTYLE_SINGLE_PARENT LIFESTYLE_SOLO_FEMALE LIFESTYLE_BEAUTY LIFESTYLE_FOODIE LIFESTYLE_FAMILY LIFESTYLE_ROMANCE LIFESTYLE_COUPLE LIFESTYLE_SOLO LIFESTYLE_BACKPACKER LIFESTYLE_SHOPPING LIFESTYLE_SPORTS LIFESTYLE_MOUNTAIN LIFESTYLE_BEACH LIFESTYLE_CITY LIFESTYLE_COUNTRY LIFESTYLE_CULTURE LIFESTYLE_ECO
locationCategories

Supported OTA specification LOC code. See OTA geoname data

Array<string>
""
name
required

Name of dynamic list for when user want to persist it

string
"" >= 1 characters
nearPoint

Find hotels close to certain location

object
coordinates
Array<number>
type
string
x
number format: double
y
number format: double
ownerIdentifier
required

Entity identifier of record creator

string format: uuid
"" >= 1 characters
primaryOrderBy

Control how you want the search results sorted. Options are:

  • 1: Inventory name
  • 2: Price: High to low
  • 3: Price: Low to high
  • 4: Commission: High to low
  • 5: Commission: Low to high
  • 6: Discount: High to low
  • 7: Discount: Low to high
string
""
propertyName

Regex expression filter matching on property name.

string
""
radiusInMeters

Use this in conjunction with nearPoint. Control the distance from point we are searching for.

integer format: int64
0
segmentCategories

Supported OTA specification SEG code. See OTA geoname data

Array<string>
""
showChildFriendly

Filter on child-friendly hotels

boolean
showDirectOnly

Filter on direct inventory

boolean
showEcoFriendly

Filter on eco-friendly hotels

boolean
showPetFriendly

Filter on pet-friendly hotels

boolean
showPopular

Filter on hotel that has had a certain amount of bookings

boolean
version

Optimistic-locking version. Echo this value back as an If-Match request header on a conditional update; the server responds 409 if the record changed in the meantime. Null when this projection has no backing versioned document, in which case no conditional update is possible.

integer | null format: int64
""
key
additional properties
""
Example
{
"aggregateReviewRating": 8,
"architecturalStyles": 50,
"cities": [
"1609350"
],
"continents": [
"AS"
],
"countries": [
"1605651"
],
"createdDate": "2026-01-14T09:30:00",
"hotelCategories": 1,
"hotelStars": 5,
"id": "b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47",
"inventoryName": "Deluxe Suite",
"inventoryTypes": [
"GUEST_ROOM"
],
"lastUpdate": "2026-02-03T16:45:12",
"lifestyles": "LIFESTYLE_RELAX",
"locationCategories": 1701,
"name": "Bangkok Luxury Hotels",
"ownerIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69",
"primaryOrderBy": "4",
"propertyName": "The Siam",
"radiusInMeters": 5000,
"segmentCategories": 7,
"showChildFriendly": false,
"showDirectOnly": false,
"showEcoFriendly": false,
"showPetFriendly": false,
"showPopular": false,
"version": 3
}

Bad Request — missing or invalid request parameter or body

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Conflict — the resource was modified by someone else since you read it; re-read it and retry with the new version

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example