Add static grid
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/wink-links/grids/syndication/entry';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '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/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/wink-links/grids/syndication/entry \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullSyndicates a curated static list into a new WinkLinks grid entry.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Managing entity identifier to create item for.
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Static list details to syndicate into a new WinkLinks grid entry
Request to create a syndication entry that tracks a curated list inventory item over time.
object
ID of seller inventory item to create a syndication entry from
Example
8b1d6e0f-3a7c-4d2b-9e5a-1c8f0b4d6e29Example
{ "identifier": "8b1d6e0f-3a7c-4d2b-9e5a-1c8f0b4d6e29"}Responses
Section titled “Responses”WinkLinks entry created from static list
Lightweight projection of a WinkLinks syndicated entry, representing a single link, card, map, file, or other content type displayed on an affiliate’s link-in-bio profile page.
object
The url of this entry
Datetime this record was first created
Localized descriptions describing inventory.
Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.
object
Whether it was user or system generated.
Longer text description
Indicate which language this description is written in.
The md5 hash of the name, description and language.
Use as title or short text description
Whether author wants to disable the post.
Whether to treat all links as flat web links or try to embed more advanced data.
Unique identifier for this record.
Datetime this record was last updated
Optional code the author can require be entered by the user in order to see the post.
Extended metadata
object
The main multimedias for this entry.
Multimedia that contains less information than Multimedia object
object
Media angle
Whether image has attribution properties
object
Name of contributor
URL to contributor
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.
object
Whether it was user or system generated.
Longer text description
Indicate which language this description is written in.
The md5 hash of the name, description and language.
Use as title or short text description
Media height in pixels.
Use this identifier to communicate with Cloudinary.
True if media width is greater or equal to height
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Document identifier
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Sort allows you to control how you want to sort this record in a list of media records.
Currently ONLY using Cloudinary to store all image / video assets.
Whether Cloudinary media is a VIDEO or IMAGE.
Media width in pixels.
The user’s owner company this entry associates with
An optional date for when this post will be displayed.
Publish status of post.
How the author wants this entry to get sorted
This can change if it’s linked to travel inventory that is no longer available.
Optional user categories
Immutable key-value pair associating a machine-readable value with a human-readable label.
object
English readable text of the value.
The value that should be persisted.
The site name of this entry
The syndication entry type
Optional unique code that can be used to access this record.
Creator of entry
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.
Example
Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Conflict — the resource was modified by someone else since you read it; re-read it and retry with the new version
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable
