API - Planyo Web Services - do_reservation_action

Sie sind hier: Planyo » Hilfe » API » do_reservation_action

do_reservation_action (version 1)


Call to perform an administrative action (such as confirmation or cancellation) on a reservation


reservation_id int required
ID of the reservation
action string required
One of: Reserve (period is marked as occupied), Verify (email address verified), Confirm, Preapprove (automatically confirm this and all future reservations of this user), Fraud (cancel this reservation and prevent this customer from making future reservations), Cancel (reservation cancelled by the administrator), User_cancel (reservation cancelled by the customer), Checkin (customer is checking in), Checkout (customer is checking out), Unconfirm (remove the confirmed status), Uncancel (remove the canceled status), Make_not_completed (remove both the reserved and confirmed statuses)
custom_data string optional
If action is verify, this is the verification code (required). In other cases this is ignored
comment string optional
Optional comment for the action
is_quiet bool optional
Set this to true if you don't want any emails to be sent out as a result of this action. By default the emails will be sent as configured by you in notification settings.
version float optional
you can optionally specify the version of the API that you're using. Use the value of latest or simply skip this parameter to use the latest API version. The latest version is: 1
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.


status ReservationStatus
New (updated) status of the reservation
user_text string
Text to be displayed to the user with the status of their reservation

API playground:

Click here to test this function in the API playground.