Update an existing schedule item
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/schedule/9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43/item/b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47';const options = { method: 'PUT', 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 PUT \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/schedule/9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43/item/b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullUpdates an existing calendar item identified by its identifier on a piece of inventory. Allows modifying the event timing, timezone, and attendee count. Returns the updated item.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Identifier of the managing entity (property/company) that owns the inventory
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Identifier of the travel inventory containing the schedule item to update
Example
9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43Identifier of the schedule item to update
Example
b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Updated schedule item details including revised start and end times, timezone, and attendee count
Request body for updating the timing, timezone, and attendee count of an existing schedule item.
object
Number of guests or attendees for this event. Must be at least 1.
Example
2End date and time of the scheduled event in ISO-8601 format.
Example
2026-02-15T15:30:00Timezone identifier for the end time, using IANA time zone database format (e.g., Asia/Bangkok, America/New_York).
Example
Asia/BangkokFlag indicating whether this is an all-day event (no specific time). If true, time portions of start and end are ignored.
Example
trueStart date and time of the scheduled event in ISO-8601 format.
Example
2026-02-15T14:00:00Timezone identifier for the start time, using IANA time zone database format (e.g., Asia/Bangkok, America/New_York).
Example
Asia/BangkokExample
{ "attendees": 2, "end": "2026-02-15T15:30:00", "endTimezone": "Asia/Bangkok", "isAllDay": true, "start": "2026-02-15T14:00:00", "startTimezone": "Asia/Bangkok"}Responses
Section titled “Responses”Schedule item updated successfully
Lightweight projection of a calendar schedule item representing a reservation or event on a travel inventory such as a meeting room, restaurant, spa, activity, attraction, or place.
object
Venue address
object
Address line 1
Address line 2
City name
Country
Country
County
Address 1, Address 2, City, State, Postal / Zip code, Country
Postal / zip code
State
Number of guests attending this event.
Booking identifier that this scheduled event is associated with.
Identifier of the managing entity (company/organization) that owns this schedule item.
Brand name to display in event notification emails and headers.
Venue contact person
object
Contact E-mail
Contact first name
First and last name
Contact last name
Contact phone number
Contact secondary Email
Summary
Timestamp when this schedule item was created, in ISO-8601 format.
Datetime this record was first created
Description of scheduled event.
Email address of the person who scheduled or is managing this event.
URL of the logo image to display in event notification email headers. Typically a Cloudinary CDN URL.
End date and time of scheduled event in ISO-8601 format.
Timezone identifier for the end time, using IANA time zone database format (e.g., Asia/Bangkok, America/New_York).
First name of the person who scheduled or is managing this event.
Full name of the person who scheduled or is managing this event.
Identifier of the property (hotel) that owns the travel inventory.
Unique identifier for this record.
Flag indicating whether this is an all day event.
ISO 639-1 language code for the user’s preferred language in notifications (e.g., en, th, de).
Timestamp when this schedule item was last modified, in ISO-8601 format.
Last name of the person who scheduled or is managing this event.
Datetime this record was last updated
Localized (translated) name of the venue in the local language.
Cloudinary identifier for the logo image, used for referencing and potential reuse across notifications.
Unique identifier of the travel inventory (meeting room, restaurant, spa, activity, etc.) that owns this schedule item.
List of date-times that are exceptions to the recurrence rule (dates when the recurring event does not occur).
Identifier of the parent recurring event. Used when this instance is part of a recurring series.
Recurrence rule in iCalendar format (RFC 5545). If present, indicates this is a recurring event. Null for non-recurring events. For details see iCalendar specification.
Schedule event recurring sequence
Start date and time of scheduled event in ISO-8601 format.
Timezone identifier for the start time, using IANA time zone database format (e.g., Asia/Bangkok, America/New_York).
Title of scheduled event.
The type of travel inventory.
Name of the venue where the scheduled event takes place.
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
{ "address": { "address1": "234 Near da beach", "address2": "Pebble #5001", "city": "Bangkok", "country": "United States", "countryCode": "TH", "county": "Alameda county", "fullAddress": "11 At home, Suite 3C, New York City, NY 10010, United States", "postalCode": "90210", "state": "CA" }, "attendees": 2, "bookingIdentifier": "f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92", "bookingOwnerIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69", "brandName": "The Siam Residences", "contact": { "firstName": "Alexandra", "fullName": "Alexandra Beaumont", "lastName": "Beaumont", "phoneNumber": "+12125551212", }, "created": "2026-01-14T09:30:00", "createdDate": "2026-01-14T09:30:00", "description": "Reservation for Jane Doe - 2 PAX", "emailHeaderLogoUrl": "https://res.cloudinary.com/wink/image/upload/v1/branding/the-siam-residences-logo.png", "end": "2026-02-15T15:30:00", "endTimezone": "Asia/Bangkok", "firstName": "Alexandra", "fullName": "Alexandra Beaumont", "hotelIdentifier": "e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18", "id": "b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47", "isAllDay": true, "language": "en", "lastModified": "2026-02-03T16:45:12", "lastName": "Beaumont", "lastUpdate": "2026-02-03T16:45:12", "localizedVenueName": "ห้องอาหารหลัก", "logoIdentifier": "the-siam-residences-logo", "ownerIdentifier": "9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43", "recurrenceException": [ "2026-02-16T14:00:00", "2026-02-18T14:00:00" ], "recurrenceId": "a2d5f8b1-1c4e-4d7a-8b3f-2e9a0c6b5d41", "recurrenceRule": "FREQ=DAILY;COUNT=5", "sequence": 0, "start": "2026-02-15T14:00:00", "startTimezone": "Asia/Bangkok", "title": "Jane Doe +1", "type": "MEETING_ROOM", "venueName": "The Siam Residences Dining Hall", "version": 3}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
