PATCH AccommodationRateDates
/api/accommodations/{accommodationId}/rate_dates/Updates one or multiple AccommodationRateDate entities for a specific accommodation.
Each update can either set an absolute rate amount or apply an index-based adjustment (percentage or fixed amount increase/decrease) to the existing rate. All changes are recorded under a new version for audit purposes, enabling historical rate tracking. After updating the specified rate dates, derived rates that depend on the modified rate specifications are automatically scheduled for recalculation.
Path parameters
Section titled “Path parameters”accommodationIdstringrequired
Request body
Section titled “Request body”- AccommodationRateDatePatchRequestPayload2[]
Show array — 7 properties
accommodationRateSpecificationobjectrequiredShow 1 property
idnumberoptional
datestringrequiredamountstringrequiredtypestringrequiredAllowed values:index,overwriteThe type of update that should be performed (overwrite or index)
methodstringoptionalAllowed values:absolute,percentageThe method that should be performed in case of indexing (absolute or percentage)
adjustmentstringoptionalAllowed values:increase,decreaseThe adjustment that should be performed in case of indexing (increase or decrease)
roundingstringoptionalAllowed values:rounding-two-decimals,rounding-one-decimal,rounding-whole,rounding-nearest-five,rounding-nearest-halfHow the amount is rounded. Falls back to the organization rounding setting when omitted.