Update a promotion
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/promotion/550e8400-e29b-41d4-a716-446655440000';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/promotion/550e8400-e29b-41d4-a716-446655440000 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullModify an existing promotion’s name, rules, and qualification criteria.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The unique identifier of the managing entity (property).
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69The unique identifier of the promotion to update.
Example
550e8400-e29b-41d4-a716-446655440000Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Updated promotion definition with revised name, discount or premium rules, or qualification criteria
Request payload for creating or updating a special rate promotion with all its qualifying conditions.
object
Optional: apply promotion only to specific add-ons or upgrades.
Optional: restrict promotion to bookings made in advance (minimum days before stay).
object
Maximum days in advance of stay start date when the booking may be made. Set to 0 for no maximum.
Example
365Minimum days in advance of stay start date when the booking must be made. Set to 0 for no minimum.
Example
7Example
{ "maxAdvanceBookingOffset": 365, "minAdvanceBookingOffset": 7}Optional: restrict promotion to guests arriving on specific days of the week.
object
The days of the week when this rate is available for guests to arrive on
object
Convenience property to quickly determine if this existing object has any active days enabled.
Example
trueSet to true to enable Friday.
Example
trueSet to true to enable Monday.
Example
trueSet to true to enable Saturday.
Example
trueSet to true to enable Sunday.
Example
trueSet to true to enable Thursday.
Example
trueSet to true to enable Tuesday.
Example
trueSet to true to enable Wednesday.
Example
trueExample
{ "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true}Example
{ "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true }}Optional: restrict promotion to specific days of the week when it is available for booking.
object
The days of the week when this rate is available for booking
object
Convenience property to quickly determine if this existing object has any active days enabled.
Example
trueSet to true to enable Friday.
Example
trueSet to true to enable Monday.
Example
trueSet to true to enable Saturday.
Example
trueSet to true to enable Sunday.
Example
trueSet to true to enable Thursday.
Example
trueSet to true to enable Tuesday.
Example
trueSet to true to enable Wednesday.
Example
trueExample
{ "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true}Example
{ "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true }}Optional: blackout dates when promotion is not applicable.
A date range during which a promotion is not available (blackout period).
object
Start date when the promotion is not available (inclusive).
Example
2026-04-13End date when the promotion is not available (inclusive).
Example
2026-04-15Example
{ "effectiveDate": "2026-04-13", "expireDate": "2026-04-15"}Optional: restrict promotion to guests booking from specific cities based on their IP geolocation.
Qualifier that restricts a promotion to guests whose IP geolocation resolves to a specific city.
object
City details (obtained via geonames) to restrict the promotion by guest location.
object
City name
Example
New YorkContinent code
Example
NAContinent name
Example
North AmericaCountry ISO code
Example
USCountry name
Example
United StatesLocale code
Example
enSub-division 1 code
Example
NYSub-division 1 name
Example
NYSub-division 2 code
Example
KingsSub-division 2 name
Example
Kings CountyTimezone
Example
America/New_YorkExample
{ "cityName": "Bangkok", "continentCode": "AS", "continentName": "Asia", "countryIsoCode": "TH", "countryName": "Thailand", "geoNameId": "1609350", "localeCode": "en", "subDivision1Code": "10", "subDivision1Name": "Bangkok", "subDivision2Code": "1001", "subDivision2Name": "Phra Nakhon", "timezone": "Asia/Bangkok"}Example
{ "city": { "countryCode": "TH", "geoNameId": "1609350", "latitude": 13.7563, "longitude": 100.5018, "name": "Bangkok" }}Optional: restrict promotion to guests from specific continents based on their IP geolocation.
Qualifier that restricts a promotion to guests whose IP geolocation resolves to a specific continent.
object
Two-letter continent code (e.g. NA, EU, AS)
Example
NAExample
{ "continent": "NA"}Optional: restrict promotion to guests from specific countries based on their IP geolocation.
Qualifier that restricts a promotion to guests whose IP geolocation resolves to a specific country.
object
Country (obtained via geonames) to restrict the promotion by guest location.
object
Continent code (two-letter ISO)
Example
ASContinent name
Example
AsiaCountry ISO 3166-1 alpha-2 code
Example
THCountry name
Example
ThailandGeoNames identifier
Example
1609350Example
{ "continentCode": "AS", "continentName": "Asia", "countryIsoCode": "TH", "countryName": "Thailand", "geoNameId": "1609350"}Example
{ "country": { "continentCode": "AS", "geoNameId": "1609350", "isoAlpha2": "TH", "isoAlpha3": "THA", "name": "Thailand" }}Optional: restrict promotion to guests departing on specific days of the week.
object
The days of the week when the guest is allowed to depart
object
Convenience property to quickly determine if this existing object has any active days enabled.
Example
trueSet to true to enable Friday.
Example
trueSet to true to enable Monday.
Example
trueSet to true to enable Saturday.
Example
trueSet to true to enable Sunday.
Example
trueSet to true to enable Thursday.
Example
trueSet to true to enable Tuesday.
Example
trueSet to true to enable Wednesday.
Example
trueExample
{ "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true}Example
{ "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true }}Localized descriptions to display to guests (at least one in English). Describe the promotion’s benefits and terms.
Simplified localized description containing text content and its language code.
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
d41d8cd98f00b204e9800998ecf8427eExample
{ "creator": "USER", "description": "This is a longer description in the specified language.", "language": "en", "md5ContentHash": "d41d8cd98f00b204e9800998ecf8427e"}Enable or disable the promotion without deleting it.
Example
trueOptional: restrict promotion to guests located within a circular area on the map.
Qualifier that restricts a promotion to guests within a circular geographic area defined by a center point and radius.
object
Latitude of the center point for the geo-location radius check.
Example
13.7563Longitude of the center point for the geo-location radius check.
Example
100.5018Radius in kilometers around the center point within which the guest must be located.
Example
50Example
{ "latitude": 13.7563, "longitude": 100.5018, "radiusInKilometers": 50}Optional: restrict promotion to guests whose IP address falls within specified ranges.
Qualifier that restricts a promotion to guests whose IP address falls within a specified IPv4 range.
object
Ending IP address of the range (inclusive).
Example
192.168.1.255Starting IP address of the range (inclusive).
Example
192.168.1.0Example
{ "endIPRange": "192.168.1.255", "startIPRange": "192.168.1.0"}Optional: apply only to last-minute bookings (within X minutes of stay start date).
object
Number of seconds before the arrival date when the promotion becomes active (last-minute bookings).
Example
1440Example
{ "seconds": 1440}Optional: restrict promotion to stays of a specific duration.
object
Maximum number of nights. Set to 0 for no maximum.
Example
30Minimum number of nights for promotion to apply. Set to 0 for no minimum.
Example
3Example
{ "maxLOS": 30, "minLOS": 3}Optional: apply promotion only to specific master rates (room types).
The discount or premium amount and currency.
object
A localized amount, always non-negative. Direction (surcharge vs. discount) is determined by which field this charge is assigned to, not the sign of this value.
object
Monetary amount value
Example
1250ISO 4217 currency code
Example
USDExample
{ "amount": 1250, "currency": "USD"}A fraction between 0 and 1 (inclusive) representing a percentage of the total stay amount for an early check-in or late check-out, e.g. 0.25 for 25%. Direction (surcharge vs. discount) is determined by which field this charge is assigned to, not the sign of this value.
Example
0.25When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
Example
PERCENTAGEExample
{ "fixedAmount": { "amount": 1250, "currency": "USD" }, "percent": 0.25, "type": "PERCENTAGE"}Internal name of promotion for property staff reference.
Example
Early Bird DiscountOptional: apply only to prepaid or non-prepaid rates.
object
True to apply only to prepaid rates, false to apply only to pay-at-property rates.
Example
trueExample
{ "prepay": true}Determines how the discount is applied: per night, per entire stay, or per guest.
Example
PER_PERSON_PER_NIGHTOptional: require guests to enter a promo code to access this promotion.
Qualifier that restricts a promotion to guests who enter a specific promotional code at checkout.
object
Promo code that guests must enter to access this promotion.
Example
EARLYBIRD2026Example
{ "promotion": "EARLYBIRD2026"}Optional: apply promotion only to specific rate plans.
Optional: apply only to refundable or non-refundable rates.
object
True to apply only to refundable rates, false to apply only to non-refundable rates.
Example
trueExample
{ "refundable": true}Optional: restrict promotion to stays that include specific days of the week.
object
The days of the week the user has to stay on to get this rate
object
Convenience property to quickly determine if this existing object has any active days enabled.
Example
trueSet to true to enable Friday.
Example
trueSet to true to enable Monday.
Example
trueSet to true to enable Saturday.
Example
trueSet to true to enable Sunday.
Example
trueSet to true to enable Thursday.
Example
trueSet to true to enable Tuesday.
Example
trueSet to true to enable Wednesday.
Example
trueExample
{ "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true}Example
{ "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true }}Optional: restrict promotion based on number of rooms in the booking.
object
Maximum number of rooms in the booking. Leave null or 0 for no upper limit.
Example
4Minimum number of rooms in the booking for this promotion to apply.
Example
1Example
{ "maxRooms": 4, "minRooms": 1}Optional: restrict promotion to specific dates when the booking is made.
Qualifier that restricts a promotion to bookings made within a specific date window.
object
Promotion is available when the booking is made on or after this date (inclusive).
Example
2026-05-01Promotion is available when the booking is made on or before this date (inclusive).
Example
2026-08-31Example
{ "effectiveDate": "2026-05-01", "expireDate": "2026-08-31"}Optional: restrict promotion to specific arrival dates.
Rate qualifier that restricts a promotion to guests whose stay falls within a specific date range.
object
Promotion applies when guest’s stay starts on or after this date (inclusive).
Example
2026-06-01Promotion applies when guest’s stay starts on or before this date (inclusive).
Example
2026-08-31Example
{ "effectiveDate": "2026-06-01", "expireDate": "2026-08-31"}Optional: restrict promotion to guests in specific time zones.
Qualifier that restricts a promotion to guests whose system timezone matches the specified IANA timezone name.
object
IANA timezone name of the booker’s location (e.g. Asia/Bangkok).
Example
Asia/BangkokExample
{ "timezone": "Asia/Bangkok"}Set whether the discount should reduce the rate (DISCOUNT) or increase it as a premium (PREMIUM).
Example
DISCOUNTExample
{ "addOnIdentifiers": [ "880e8400-e29b-41d4-a716-446655440333" ], "advanceBookingRateQualifier": { "maxAdvanceBookingOffset": 365, "minAdvanceBookingOffset": 7 }, "arrivalDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "availableDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "blackoutDates": [ { "effectiveDate": "2026-04-13", "expireDate": "2026-04-15" } ], "cityRateQualifiers": [ { "city": { "countryCode": "TH", "geoNameId": "1609350", "latitude": 13.7563, "longitude": 100.5018, "name": "Bangkok" } } ], "continentRateQualifiers": [ { "continent": "NA" } ], "countryRateQualifiers": [ { "country": { "continentCode": "AS", "geoNameId": "1609350", "isoAlpha2": "TH", "isoAlpha3": "THA", "name": "Thailand" } } ], "departureDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "descriptions": [ { "creator": "USER", "description": "This is a longer description in the specified language.", "language": "en", "md5ContentHash": "d41d8cd98f00b204e9800998ecf8427e" } ], "enabled": true, "geoLocationRateQualifiers": [ { "latitude": 13.7563, "longitude": 100.5018, "radiusInKilometers": 50 } ], "ipRangeRateQualifiers": [ { "endIPRange": "192.168.1.255", "startIPRange": "192.168.1.0" } ], "lastMinuteRateQualifier": { "seconds": 1440 }, "lengthOfStayRateQualifier": { "maxLOS": 30, "minLOS": 3 }, "masterRateIdentifiers": [ "770e8400-e29b-41d4-a716-446655440222" ], "modifier": { "fixedAmount": { "amount": 1250, "currency": "USD" }, "percent": 0.25, "type": "PERCENTAGE" }, "name": "Early Bird Discount", "prepayRateQualifier": { "prepay": true }, "pricingType": "PER_PERSON_PER_NIGHT", "promotionRateQualifiers": [ { "promotion": "EARLYBIRD2026" } ], "ratePlanIdentifiers": [ "990e8400-e29b-41d4-a716-446655440444" ], "refundableRateQualifier": { "refundable": true }, "requiredDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "roomRangeRateQualifier": { "maxRooms": 4, "minRooms": 1 }, "sellDateRateQualifiers": [ { "effectiveDate": "2026-05-01", "expireDate": "2026-08-31" } ], "stayDateRateQualifiers": [ { "effectiveDate": "2026-06-01", "expireDate": "2026-08-31" } ], "timezoneRateQualifiers": [ { "timezone": "Asia/Bangkok" } ], "type": "DISCOUNT"}Responses
Section titled “Responses”Promotion updated successfully.
A lightweight projection of a special rate (promotion) containing all qualifying conditions and metadata.
object
Restrict promotion to users who want to book in advance.
object
Maximum days in advance of stay start date when the booking may be made. Set to 0 for no maximum.
Minimum days in advance of stay start date when the booking must be made. Set to 0 for no minimum.
Restrict promotion to specific days of the week the guest is arriving.
object
The days of the week when this rate is available for guests to arrive on
object
Convenience property to quickly determine if this existing object has any active days enabled.
Set to true to enable Friday.
Set to true to enable Monday.
Set to true to enable Saturday.
Set to true to enable Sunday.
Set to true to enable Thursday.
Set to true to enable Tuesday.
Set to true to enable Wednesday.
Restrict promotion to specific days of the week the promotion is available.
object
The days of the week when this rate is available for booking
object
Convenience property to quickly determine if this existing object has any active days enabled.
Set to true to enable Friday.
Set to true to enable Monday.
Set to true to enable Saturday.
Set to true to enable Sunday.
Set to true to enable Thursday.
Set to true to enable Tuesday.
Set to true to enable Wednesday.
A date range during which a promotion is not available (blackout period).
object
Start date when the promotion is not available (inclusive).
End date when the promotion is not available (inclusive).
Qualifier that restricts a promotion to guests whose IP geolocation resolves to a specific city.
object
City details (obtained via geonames) to restrict the promotion by guest location.
object
City name
Continent code
Continent name
Country ISO code
Country name
GeoNameLightweight identifiers taken from https://geonames.org.
Locale code
Sub-division 1 code
Sub-division 1 name
Sub-division 2 code
Sub-division 2 name
Timezone
Qualifier that restricts a promotion to guests whose IP geolocation resolves to a specific continent.
object
Two-letter continent code (e.g. NA, EU, AS)
Qualifier that restricts a promotion to guests whose IP geolocation resolves to a specific country.
object
Country (obtained via geonames) to restrict the promotion by guest location.
object
Continent code (two-letter ISO)
Continent name
Country ISO 3166-1 alpha-2 code
Country name
GeoNames identifier
Datetime this record was first created
Restrict promotion to specific days of the week the guest is departing.
object
The days of the week when the guest is allowed to depart
object
Convenience property to quickly determine if this existing object has any active days enabled.
Set to true to enable Friday.
Set to true to enable Monday.
Set to true to enable Saturday.
Set to true to enable Sunday.
Set to true to enable Thursday.
Set to true to enable Tuesday.
Set to true to enable Wednesday.
Simplified localized description containing text content and its language code.
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.
Whether this promotion is enabled or not.
Qualifier that restricts a promotion to guests within a circular geographic area defined by a center point and radius.
object
Latitude of the center point for the geo-location radius check.
Longitude of the center point for the geo-location radius check.
Radius in kilometers around the center point within which the guest must be located.
Unique identifier of the property this promotion belongs to.
Unique identifier for this record.
Qualifier that restricts a promotion to guests whose IP address falls within a specified IPv4 range.
object
Ending IP address of the range (inclusive).
Starting IP address of the range (inclusive).
Restrict promotion to users who want to book a room close to the date.
object
Number of seconds before the arrival date when the promotion becomes active (last-minute bookings).
Datetime this record was last updated
Restrict promotion to users who want to stay a certain number of days.
object
Maximum number of nights. Set to 0 for no maximum.
Minimum number of nights for promotion to apply. Set to 0 for no minimum.
The discount or premium amount and its type (fixed or percentage).
object
A localized amount, always non-negative. Direction (surcharge vs. discount) is determined by which field this charge is assigned to, not the sign of this value.
object
Monetary amount value
ISO 4217 currency code
A fraction between 0 and 1 (inclusive) representing a percentage of the total stay amount for an early check-in or late check-out, e.g. 0.25 for 25%. Direction (surcharge vs. discount) is determined by which field this charge is assigned to, not the sign of this value.
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
Internal name of promotion.
Restrict promotion to either prepaid / non-prepaid rates.
object
True to apply only to prepaid rates, false to apply only to pay-at-property rates.
This determines whether this discount should be applied per night, per stay or per person - per night
Qualifier that restricts a promotion to guests who enter a specific promotional code at checkout.
object
Promo code that guests must enter to access this promotion.
Restrict promotion to either refundable / non-refundable rates.
object
True to apply only to refundable rates, false to apply only to non-refundable rates.
Restrict promotion to specific days of the week the guest has to stay.
object
The days of the week the user has to stay on to get this rate
object
Convenience property to quickly determine if this existing object has any active days enabled.
Set to true to enable Friday.
Set to true to enable Monday.
Set to true to enable Saturday.
Set to true to enable Sunday.
Set to true to enable Thursday.
Set to true to enable Tuesday.
Set to true to enable Wednesday.
Restrict promotion by restricting to how many rooms the user wants.
object
Maximum number of rooms in the booking. Leave null or 0 for no upper limit.
Minimum number of rooms in the booking for this promotion to apply.
Qualifier that restricts a promotion to bookings made within a specific date window.
object
Promotion is available when the booking is made on or after this date (inclusive).
Promotion is available when the booking is made on or before this date (inclusive).
Rate qualifier that restricts a promotion to guests whose stay falls within a specific date range.
object
Promotion applies when guest’s stay starts on or after this date (inclusive).
Promotion applies when guest’s stay starts on or before this date (inclusive).
Qualifier that restricts a promotion to guests whose system timezone matches the specified IANA timezone name.
object
IANA timezone name of the booker’s location (e.g. Asia/Bangkok).
Set whether you want the price to go up or down when the rules of this promotion have been satisfied.
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
{ "addOnIdentifiers": [ "880e8400-e29b-41d4-a716-446655440333" ], "advanceBookingRateQualifier": { "maxAdvanceBookingOffset": 365, "minAdvanceBookingOffset": 7 }, "arrivalDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "availableDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "blackoutDates": [ { "effectiveDate": "2026-04-13", "expireDate": "2026-04-15" } ], "cityRateQualifiers": [ { "city": { "countryCode": "TH", "geoNameId": "1609350", "latitude": 13.7563, "longitude": 100.5018, "name": "Bangkok" } } ], "continentRateQualifiers": [ { "continent": "NA" } ], "countryRateQualifiers": [ { "country": { "continentCode": "AS", "geoNameId": "1609350", "isoAlpha2": "TH", "isoAlpha3": "THA", "name": "Thailand" } } ], "createdDate": "2026-01-14T09:30:00", "departureDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "descriptions": [ { "creator": "USER", "description": "This is a longer description in the specified language.", "language": "en", "md5ContentHash": "d41d8cd98f00b204e9800998ecf8427e" } ], "enabled": true, "geoLocationRateQualifiers": [ { "latitude": 13.7563, "longitude": 100.5018, "radiusInKilometers": 50 } ], "hotelIdentifier": "e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18", "id": "b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47", "ipRangeRateQualifiers": [ { "endIPRange": "192.168.1.255", "startIPRange": "192.168.1.0" } ], "lastMinuteRateQualifier": { "seconds": 1440 }, "lastUpdate": "2026-02-03T16:45:12", "lengthOfStayRateQualifier": { "maxLOS": 30, "minLOS": 3 }, "masterRateIdentifiers": [ "770e8400-e29b-41d4-a716-446655440222" ], "modifier": { "fixedAmount": { "amount": 1250, "currency": "USD" }, "percent": 0.25, "type": "PERCENTAGE" }, "name": "Early bird", "prepayRateQualifier": { "prepay": true }, "pricingType": "PER_PERSON_PER_NIGHT", "promotionRateQualifiers": [ { "promotion": "EARLYBIRD2026" } ], "ratePlanIdentifiers": [ "990e8400-e29b-41d4-a716-446655440444" ], "refundableRateQualifier": { "refundable": true }, "requiredDaysOfWeekRateQualifier": { "daysOfWeek": { "disabled": true, "fri": true, "mon": true, "sat": true, "sun": true, "thu": true, "tue": true, "wed": true } }, "roomRangeRateQualifier": { "maxRooms": 4, "minRooms": 1 }, "sellDateRateQualifiers": [ { "effectiveDate": "2026-05-01", "expireDate": "2026-08-31" } ], "stayDateRateQualifiers": [ { "effectiveDate": "2026-06-01", "expireDate": "2026-08-31" } ], "timezoneRateQualifiers": [ { "timezone": "Asia/Bangkok" } ], "type": "DISCOUNT", "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
