API Playground - set_resource_daily_pricing

set_resource_daily_pricing


This function sets daily pricing values for given resource. With a single call you can set daily prices for any number of dates by passing multiple parameters prefixed with price_value_, e.g. price_value_2025-01-01=100&price_value_2025-01-02=110. You must have an existing rule of type 'daily pricing' in order to use this api function. Note that the type of price being set (e.g. USD or USD per night or EUR per person) is set on the level of the 'daily pricing' rule in Pricing Manager -- you only pass the actual price value to this function (click for full documentation)

resource_id

ID of the resource

rule_id

ID of an existing pricing manager rule of type 'daily pricing'. You can skip this parameter in which case the rule ID will be assumed to be the first existing rule of type 'daily pricing'. If you don't have a rule of this type, an error will be returned.

price_value_YYYY-MM-DD

Price for date expressed in the format YYYY-MM-DD. If this value is empty, the currently set price for this date will be removed

language

by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned

api_key

* - required field