Update post
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/social/post/c8f2a5e7-1d9b-4e3c-9a2f-5e7b8d3c1f4a';const options = { method: 'PATCH', 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 PATCH \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/social/post/c8f2a5e7-1d9b-4e3c-9a2f-5e7b8d3c1f4a \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullUpdates an existing managed social post identified by its identifier with the supplied content.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Update post for this managing entity
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Update this specific post
Example
c8f2a5e7-1d9b-4e3c-9a2f-5e7b8d3c1f4aHeader Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Updated post content and scheduling details
Request to create or update a managed social post, specifying content, tone, scheduling, and platform details.
object
The post customization/template identifier to base this post on
Example
d7e1b4f6-2c8a-4d2b-8f3e-6d9c7b2a0e5fA single entry array under most circumstances in the language the post was created for.
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.
Example
SYSTEMLonger text description
Example
This is a longer description in the specified language.Indicate which language this description is written in.
Example
enThe md5 hash of the name, description and language.
Example
d41d8cd98f00b204e9800998ecf8427eUse as title or short text description
Example
An example titleExample
{ "creator": "USER", "description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.", "language": "en", "md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82", "name": "Deluxe River View Suite"}A link to go with the text
object
Short caption typically showing the domain of the URL
Example
thesiamresidences.comHuman-readable description of the link destination shown alongside the URL
Example
Discover The Siam ResidencesThe fully-qualified URL to link from the post
Example
https://www.thesiamresidences.comExample
{ "caption": "thesiamresidences.com", "description": "Discover The Siam Residences", "url": "https://www.thesiamresidences.com"}Optional geo-location
object
Platform-specific metadata for this post
object
CDN image/media assets (most platforms support up to 10 images per post)
object
Media angle
Example
-90Whether image has attribution properties
object
Name of contributor
Example
Samuel AdamsURL to contributor
Example
https://maps.google.com/maps/contrib/111628493169070103594Example
{ "name": "Samuel Adams", "url": "https://maps.google.com/maps/contrib/111628493169070103594"}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.
Example
SYSTEMLonger text description
Example
This is a longer description in the specified language.Indicate which language this description is written in.
Example
enThe md5 hash of the name, description and language.
Example
d41d8cd98f00b204e9800998ecf8427eUse as title or short text description
Example
An example titleExample
{ "creator": "USER", "description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.", "language": "en", "md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82", "name": "Deluxe River View Suite"}Media height in pixels.
Example
1600Use this identifier to communicate with Cloudinary.
Example
cloudinary-image-1True if media width is greater or equal to height
Example
trueAssociate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Example
LIFESTYLE_HEALTH_FITNESSDocument identifier
Example
3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Example
trueSort allows you to control how you want to sort this record in a list of media records.
Example
10Currently ONLY using Cloudinary to store all image / video assets.
Example
CLOUDINARYWhether Cloudinary media is a VIDEO or IMAGE.
Example
IMAGEMedia width in pixels.
Example
2560Example
{ "angle": null, "attribution": [], "category": "2", "descriptions": [ { "description": "Elegant lobby of The Siam Residences", "language": "en", "title": "Lobby Entrance" } ], "height": 1600, "identifier": "the-siam-residences/lobby-entrance", "isLandscape": true, "lifestyleType": null, "multimediaIdentifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "published": true, "sort": 10, "source": "CLOUDINARY", "type": "IMAGE", "width": 2560}Which social platform to publish this post to
Example
FACEBOOKThe structural intent of this post.
Example
TRANSACTIONALDate and time when the post will be published (ISO 8601 format, interpreted in the supplied timezone)
Example
2026-03-15T18:30:00ZIANA timezone identifier (e.g. Asia/Bangkok, America/New_York)
Example
Asia/BangkokThe language style used for this post.
Example
NEUTRALType of post.
Example
MANUALExample
{ "customizationIdentifier": "d7e1b4f6-2c8a-4d2b-8f3e-6d9c7b2a0e5f", "descriptions": [ { "creator": "USER", "description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.", "language": "en", "md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82", "name": "Deluxe River View Suite" } ], "hashTags": [ "#ThailandTravel" ], "link": { "caption": "thesiamresidences.com", "description": "Discover The Siam Residences", "url": "https://www.thesiamresidences.com" }, "multimedias": [ { "angle": null, "attribution": [], "category": "2", "descriptions": [ { "description": "Elegant lobby of The Siam Residences", "language": "en", "title": "Lobby Entrance" } ], "height": 1600, "identifier": "the-siam-residences/lobby-entrance", "isLandscape": true, "lifestyleType": null, "multimediaIdentifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "published": true, "sort": 10, "source": "CLOUDINARY", "type": "IMAGE", "width": 2560 } ], "platform": "FACEBOOK", "postType": "TRANSACTIONAL", "scheduledDate": "2026-03-15T18:30:00Z", "timezone": "Asia/Bangkok", "toneOfVoice": "NEUTRAL", "type": "MANUAL", "userTags": [ "@luxurytravel" ]}Responses
Section titled “Responses”The updated managed social post
Lightweight projection of a scheduled social media post, used by consumers outside the managed-social module.
object
Datetime this record was first created
The post customization/template identifier used to create this post
A single entry array under most circumstances in the language the post was created for.
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
Unique identifier for this record.
Datetime this record was last updated
A link to go with the text
object
Short caption typically showing the domain of the URL
Human-readable description of the link destination shown alongside the URL
The fully-qualified URL to link from the post
Optional geo-location
object
Platform-specific metadata for this post
object
CDN image/media assets (most platforms support up to 10 images per post)
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 managing entity this post belongs to
Which platform to post to.
The structural intent of this post.
Exact date and time when the post will be published (ISO 8601 format)
Status of post.
Human-readable status explanation (typically used for error messages)
IANA timezone identifier (e.g. Asia/Bangkok, America/New_York)
The language style used for this post.
Type of post.
The user ID that owns the account
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
{ "customizationIdentifier": "d7e1b4f6-2c8a-4d2b-8f3e-6d9c7b2a0e5f", "descriptions": [ { "description": "Experience luxury living in the heart of Bangkok.", "language": "en", "name": "Discover The Siam Residences" } ], "hashTags": [ "#ThailandTravel" ], "id": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "ownerIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69", "platform": "FACEBOOK", "postType": "TRANSACTIONAL", "scheduledDate": "2026-03-15T18:30:00Z", "status": "APPROVED", "timezone": "Asia/Bangkok", "toneOfVoice": "NEUTRAL", "type": "MANUAL", "userIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69", "userTags": [ "@luxurytravel" ]}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
