API - Planyo Web Services - set_reservation_price

You are here: Planyo » Βοήθεια » API » set_reservation_price

set_reservation_price

Description:

Set a custom price for a reservation. This does the same as changing the price by an admin on the reservation details page.

Input:

reservation_id int required
ID of the reservation
price float required
New price (incl. tax and products)
is_quiet bool optional
Set this to false if you to send Η κράτηση τροποποιήθηκε από τον διαχειριστή notifications as configured by you in notification settings. By default the notifications will not be sent.
method string required
must be set to set_reservation_price
language string optional
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 string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.

Output:

old_price float
Previous price
new_price float
New price

API playground:

Click here to test this function in the API playground.