Rate

Allows to patch the rates of multiple rate plans.

Note that the specified PATCH operations are applied to each and every rate for the specified time range. Here is the list of operations that are currently allowed:

  • Add, replace and remove Price
  • Add, replace and remove Restrictions<br>You must have this scope: 'rates.manage'.
patch/rateplan/v1/rates

Query parameters

ratePlanIdsstring[] required

Filter rates for patching by rate plan ids

fromstring required

The start of the time range to filter the rates by. All rates where the from date and time is equal or later than the specified date and optional time will be affected<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO8601:2004</a>

tostring required

The end of the time range to filter the rates by. All rates where the from date and time is earlier than the specified date and optional time will be affected<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO8601:2004</a>

weekDaysstring[]

The weekdays that will be patched. If not specified, all weekdays will be patched.

Request body

{"stackTrail":"components:schemas:Operation:properties:value","oasType":"schema","type":"unknown","nullable":true}
pathstring nullable
opstring nullable
fromstring nullable

Response

Rate plans were successfully modified.

Changes

No recorded changes to this endpoint across all 1 revision of this API.