Create Curated List
const url = 'https://api.wink.travel/api/managing-entity/owner-1/studio/static-list';const options = { method: 'POST', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"name":"","channelInventoryIdentifiers":[""]}'};
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/managing-entity/owner-1/studio/static-list \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "name": "", "channelInventoryIdentifiers": [ "" ] }'Create a new curated list
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Create curated list owned by this owner identifier.
Example
owner-1Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Name of curated list
Example
Top 3 Hotels in Chiang MaiResponses
Section titled “ Responses ”Created
Contains both the curated list and all its items.
object
Curated list object
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
List creator
Name of curated list
Every affiliate starts out with a Favorite list. All other lists will be of type NORMAL
Travel inventory items contained in list
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Parent list
object
Unique record identifier
List creator
Name of curated list
Every affiliate starts out with a Favorite list. All other lists will be of type NORMAL
Channel inventory
object
Channel Inventory identifier
Parent sales channel
object
Unique record identifier of this segment / account
Channel is owned by this supplier identifier.
Name of property / supplier that owns this channel
Flag when supplier not available. E.g. Hotel disables property
What type of segment of channel is this.
A specific identifier for the company / corporation / travel agency that is retrieving the rates
Name of the owner / affiliate. Hotel booking customization when it’s the booking customization.
Flag the supplier can use to enable / disable this channel
System override by supplier to disable channel. E.g. Platform disables supplier.
A way to blacklist a specific channel a property doesn’t want to send blocking to.
Percent discount on this channel and all its children [unless configured at the child level].
Amount of sales commission earned through this channel and all its children [unless configured at the child level].
Promotions for this channel
object
Unique record identifier
Hotel identifier.
Internal name of promotion.
Set whether you want the price to go up or down when the rules of this promotion have been satisfied.
Whether this promotion is enabled or not.
This determines whether this discount should be applied per night, per stay or per person - per night
Localized descriptions describing promotion. At least one English entry is required.
object
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Restrict promotion to specific cities. See Geo-IP city geoname data
Restrict promotion to specific continents. See Geo-IP continent geoname data
Restrict promotion to specific countries. See Geo-IP country geoname data
Restrict promotion by requiring users to enter a promo code.
Restrict promotion to specific IP ranges.
Restrict promotion by restricting to how many rooms the user wants.
Restrict promotion to either prepaid / non-prepaid rates.
Restrict promotion to either refundable / non-refundable rates.
Restrict promotion to specific time zones. See Geo-IP timezone geoname data
Restrict promotion to users who want to book a room close to the date.
Restrict promotion to users who want to stay a certain number of days.
Restrict promotion to users who want to book in advance.
Restrict promotion to specific stay dates the user wants to arrive.
Restrict promotion to specific dates the booking is made.
Restrict promotion to specific days of the week the promotion is available.
Restrict promotion to specific days of the week the guest is arriving.
Restrict promotion to specific days of the week the guest is departing.
Restrict promotion to specific days of the week the guest has to stay.
Restrict on specific master rates.
Restrict on specific add-ons.
Restrict on specific rate plans.
Exclude this promotion from specific date ranges.
Promotion bundles for this channel
object
Unique record identifier
Hotel identifier.
Internal name of promotion ancillary.
Whether this promotion ancillary is enabled or not.
Promotions that go together to make up this ancillary.
object
Unique record identifier
Hotel identifier.
Internal name of promotion.
Set whether you want the price to go up or down when the rules of this promotion have been satisfied.
Whether this promotion is enabled or not.
This determines whether this discount should be applied per night, per stay or per person - per night
Localized descriptions describing promotion. At least one English entry is required.
object
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Restrict promotion to specific cities. See Geo-IP city geoname data
Restrict promotion to specific continents. See Geo-IP continent geoname data
Restrict promotion to specific countries. See Geo-IP country geoname data
Restrict promotion by requiring users to enter a promo code.
Restrict promotion to specific IP ranges.
Restrict promotion by restricting to how many rooms the user wants.
Restrict promotion to either prepaid / non-prepaid rates.
Restrict promotion to either refundable / non-refundable rates.
Restrict promotion to specific time zones. See Geo-IP timezone geoname data
Restrict promotion to users who want to book a room close to the date.
Restrict promotion to users who want to stay a certain number of days.
Restrict promotion to users who want to book in advance.
Restrict promotion to specific stay dates the user wants to arrive.
Restrict promotion to specific dates the booking is made.
Restrict promotion to specific days of the week the promotion is available.
Restrict promotion to specific days of the week the guest is arriving.
Restrict promotion to specific days of the week the guest is departing.
Restrict promotion to specific days of the week the guest has to stay.
Restrict on specific master rates.
Restrict on specific add-ons.
Restrict on specific rate plans.
Exclude this promotion from specific date ranges.
Required if manual override modifier is not null
Determines whether this discount should be applied per night, per stay or per person - per night; Required if amount override is not null
Optional bundle-level descriptions. When populated, these replace the aggregated item descriptions in offerDetails.
object
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
object
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
object
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Whether the sales channel is a self-acquiring entity.
Inventory type
Inventory type identifier
Name of inventory as traveler is seeing it
Whether this inventory is enabled or not
Main image of inventory
object
Document identifier
Use this identifier to communicate with Cloudinary.
Whether Cloudinary media is a VIDEO or IMAGE.
Currently ONLY using Cloudinary to store all image / video assets.
Sort allows you to control how you want to sort this record in a list of media records.
Media angle
Media width in pixels.
Media height in pixels.
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Whether image has attribution properties
object
URL to contributor
Name of contributor
True if media width is greater or equal to height
Location
object
Whether this is commissionable or not
Best price of the room type or facility ancillary
object
Best price of the room type or facility ancillary in platform currency
object
Level of expensiveness.
Sort key
Status
Example
nullBad 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
{}