Bulk update rates for date range
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/master-rate/5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73/rate/bulk';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/master-rate/5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73/rate/bulk \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullApply uniform rate and availability changes across all days in a date range for a single master rate. Use this to quickly update nightly rate, availability limits, and occupancy restrictions across multiple dates.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Property identifier (managing entity UUID) owning the rates to update
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Master rate identifier (room type + rate plan) to bulk update
Example
5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”Bulk rate update request to apply consistent changes to a date range for one master rate
object
Start date (inclusive) for the bulk rate update
Example
2026-01-14End date (inclusive) for the bulk rate update
Example
2026-01-31Source of the rate update. Use TRAVELIKO for property-managed rates, or specify channel manager identifier
Example
TRAVELIKOWhether the rate is available for booking during this date range
Example
trueWhether guests cannot check in during this date range (Closed on Arrival)
Example
falseWhether guests cannot check out during this date range (Closed on Departure)
Example
falseNumber of available rooms for each day in this date range. Omit to keep current inventory unchanged.
Example
8Nightly rate amount for this date range. Omit to keep current rate unchanged.
object
Minimum length of stay (in days) required for arrivals within this date range. Omit to keep current minimum unchanged.
Example
2Maximum length of stay (in days) allowed for arrivals within this date range. Omit to keep current maximum unchanged.
Example
30Rate modifier for single occupancy bookings during this date range
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
Example
0.25A localized amount
object
Rate modifier for extra adult guests during this date range
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
Example
0.25A localized amount
object
Rate modifier for extra child guests during this date range
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
Example
0.25A localized amount
object
Responses
Section titled “ Responses ”Successfully updated all daily rates for the date range. Returns list of updated Rate documents.
Holds all the information for one rate date
object
Unique document identifier (UUID)
Property identifier that owns this daily rate
Source of the rate update. TRAVELIKO indicates property-managed rates; other values indicate channel manager origins.
Rate plan identifier for pricing controls and restrictions
Guest room (room type) identifier for this rate
Nightly rate amount in the specified currency
ISO 4217 currency code for this rate
Whether this rate is available for booking on this date
Whether guests cannot check in on this date (Closed on Arrival)
Whether guests cannot check out on this date (Closed on Departure)
Day of the month (1-31)
Month of the year (1-12)
Year in ISO format
Number of available rooms for this date
Minimum length of stay (in days) required for guests arriving on this date. -1 means no minimum.
Maximum length of stay (in days) allowed for guests arriving on this date. -1 means no maximum.
Rate modifier (fixed amount or percentage) for single occupancy bookings
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Rate modifier (fixed amount or percentage) for extra adult guests
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Rate modifier (fixed amount or percentage) for extra child guests
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Time-to-live (TTL) for this rate record in MongoDB. Records are automatically removed 24 hours after this instant.
Example
[ null]Invalid bulk request (invalid date range, missing required fields, invalid rate source)
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
Authentication required
object
object
Insufficient permissions (INVENTORY:WRITE required)
object
object
Property or master rate not found
Holds all the information for one rate date
object
Unique document identifier (UUID)
Property identifier that owns this daily rate
Source of the rate update. TRAVELIKO indicates property-managed rates; other values indicate channel manager origins.
Rate plan identifier for pricing controls and restrictions
Guest room (room type) identifier for this rate
Nightly rate amount in the specified currency
ISO 4217 currency code for this rate
Whether this rate is available for booking on this date
Whether guests cannot check in on this date (Closed on Arrival)
Whether guests cannot check out on this date (Closed on Departure)
Day of the month (1-31)
Month of the year (1-12)
Year in ISO format
Number of available rooms for this date
Minimum length of stay (in days) required for guests arriving on this date. -1 means no minimum.
Maximum length of stay (in days) allowed for guests arriving on this date. -1 means no maximum.
Rate modifier (fixed amount or percentage) for single occupancy bookings
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Rate modifier (fixed amount or percentage) for extra adult guests
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Rate modifier (fixed amount or percentage) for extra child guests
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Time-to-live (TTL) for this rate record in MongoDB. Records are automatically removed 24 hours after this instant.
Example
[ null]Internal Server Error
object
Example generated
{}