Planyo

App · 26 actions

Check availability, take and manage reservations, record payments and keep customers up to date in your Planyo booking site.

Actions

ActionWhat it does
Block off timeMake a resource, or the whole site, unavailable for a period.
Change reservation statusConfirm, cancel, check in, check out or otherwise change a reservation's status.
Check availabilityCheck whether a resource is free for a period, and how many units are left.
Create customerAdd a customer to the site.
Create reservationBook a resource for a period for a customer.
Delete customerDelete a customer who has no reservations left, other than cancelled ones.
Delete reservationDelete a reservation for good.
Get customerGet a customer's details by user ID or email address.
Get rental priceWork out what renting a resource for a period would cost.
Get reservationGet a reservation's times, status, price, payments and customer.
Get resourceGet a resource's settings, price, rental limits and photos.
Get siteGet the Planyo site's name, contact email, time zone and custom properties.
List blocked timeList the periods when resources, or the whole site, are blocked off.
List customersList the site's customers, filtered as you choose, one page at a time.
List paymentsList the payments made for the site's reservations between two days.
List reservation historyList what has happened to reservations (confirmations, changes, cancellations, payments), filtered as you choose.
List reservation paymentsList the payments and coupons used for a reservation.
List reservationsList the reservations that start, or were made, in a period, up to 500 a page.
List resourcesList the site's resources (the rooms, boats, courts or other things people reserve), one page at a time.
List reviewsList up to the 500 latest reviews customers have left.
Record paymentRecord a payment or refund against a reservation.
Remove blocked timeMake a blocked-off period available again.
Search reservationsFind reservations by customer name, email, phone, reservation ID or resource name, as the admin panel's search does.
Set reservation notesReplace a reservation's customer notes or staff notes.
Update customerChange a customer's details.
Update reservationChange a reservation's resource, times, quantity or customer.

Block off time

Make a resource, or the whole site, unavailable for a period.

Inputs

Site IDsite_idnumberRequired
The Planyo site's ID, shown by Get resource.
Resourceresource_idnumber
The resource to block. Leave empty to block the whole site.
Startstart_timetextRequired
When the blocked time starts, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Endend_timetextRequired
When the blocked time ends, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Unitsquantitynumber
How many units to block. Leave empty for all.At least 1.
Reasoncommenttext
Why it is blocked.
Flag clashing reservationscheck_conflictstrue/false
Mark reservations in the period as conflicts.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "response_code": 0,
    "response_message": "Method add_vacation executed successfully."
  }
}

Change reservation status

Confirm, cancel, check in, check out or otherwise change a reservation's status.

Inputs

Reservation IDreservation_idnumberRequired
The reservation's ID.
ChangechangetextRequired
What to do to the reservation.One of: Confirm, Unconfirm (Remove confirmation), Cancel (Cancel (by staff)), User_cancel (Cancel (by the customer)), Uncancel (Remove cancellation), Checkin (Check in), Clear_checkin (Remove check-in), Checkout (Check out), Noshow (Mark as no-show), Clear_noshow (Remove no-show), and 8 more.
Commentcommenttext
A comment to record with the change.
Don't emailis_quiettrue/false
Don't send the emails this change would usually send.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "status": 5,
      "user_text": "Reservation confirmed"
    },
    "response_code": 0,
    "response_message": "Method do_reservation_action executed successfully."
  }
}

Check availability

Check whether a resource is free for a period, and how many units are left.

Inputs

Resourceresource_idnumberRequired
The resource. Pick one, or use a resource ID from List resources.
Startstart_timetextRequired
When the rental starts, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Endend_timetextRequired
When the rental ends, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
QuantityquantitynumberRequired
How many units are needed.At least 1.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "is_available": true,
      "problem_time": "2030-06-03 11:00",
      "quantity_available": 2,
      "reason": "Not available at this time"
    },
    "response_code": 0,
    "response_message": "Method is_resource_available executed successfully."
  }
}

Create customer

Add a customer to the site. If the email address is already there, their details are updated instead.

Inputs

EmailemailtextRequired
Their email address.
First namefirst_nametextRequired
Their first name.
Last namelast_nametext
Their last name.
Phone country codephone_country_codetext
The phone number's country code, such as 1 for the US.
Phonephonetext
Their phone number, without the country code.
Mobile country codemobile_country_codetext
The mobile number's country code.
Mobilemobiletext
Their mobile number, without the country code.
Addressaddresstext
Their street address.
Citycitytext
Their city.
ZIP codeziptext
Their ZIP or postal code.
Statestatetext
Their state or province.
Countrycountrytext
Their country, as a two-letter code such as US.
Languageuser_languagetext
The language for emails to them, as a two-letter code such as EN.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "is_new": 1,
      "user_id": 902114
    },
    "response_code": 0,
    "response_message": "Method add_user executed successfully."
  }
}

Create reservation

Book a resource for a period for a customer.

Inputs

Resourceresource_idnumberRequired
The resource. Pick one, or use a resource ID from List resources.
Startstart_timetextRequired
When the rental starts, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Endend_timetextRequired
When the rental ends, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
QuantityquantitynumberRequired
How many units to reserve.At least 1.
Customercustomernumber
An existing customer. Leave empty to give an email address and first name instead.
Emailemailtext
The customer's email address, when no customer is picked.
First namefirst_nametext
The customer's first name, when no customer is picked.
Last namelast_nametext
The customer's last name.
Phone country codephone_prefixtext
The phone number's country code, such as 1 for the US.
Phonephone_numbertext
The customer's phone number, without the country code.
Customer notesuser_notestext
Notes from the customer.
Staff notesadmin_notestext
Private notes for your staff.
Book as staffadmin_modetrue/false
Book as an administrator: skips the booking form's required fields, rental rules and email verification.
Email the customersend_notificationstrue/false
Send the customer the usual emails. Turn off to book quietly.
Pricecustom_pricetext
A price to charge instead of the one Planyo works out.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "currency": "CHF",
      "discount": 0,
      "original_price": 90.0,
      "reservation_id": 31884410,
      "status": 5,
      "total_price": 90.0,
      "user_text": "Reservation confirmed"
    },
    "response_code": 0,
    "response_message": "Method make_reservation executed successfully."
  }
}

Delete customer

Delete a customer who has no reservations left, other than cancelled ones.

Inputs

CustomercustomernumberRequired
The customer to delete. Pick one, or use a user ID.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "response_code": 0,
    "response_message": "Method remove_user executed successfully."
  }
}

Delete reservation

Delete a reservation for good. To keep a record, cancel it with Change reservation status instead.

Inputs

Reservation IDreservation_idnumberRequired
The reservation to delete.
Also delete the customerdelete_user_without_reservationstrue/false
Also delete the customer, if they have no other reservations, no login and weren't added by staff.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "response_code": 0,
    "response_message": "Method delete_reservation executed successfully."
  }
}

Get customer

Get a customer's details by user ID or email address.

Inputs

Customercustomernumber
The customer. Pick one, or use a user ID. Give this or an email address.
Emailemailtext
The customer's email address. Give this or a customer.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "address": "Bahnhofstrasse 5",
      "city": "Zurich",
      "country": "CH",
      "email": "anna@example.com",
      "first_name": "Anna",
      "id": 902114,
      "is_email_verified": true,
      "last_name": "Keller",
      "login": "",
      "mobile_number": "+41 791234567",
      "phone_number": "+41 445551234",
      "registration_time": "2026-11-02 09:14",
      "state": "ZH",
      "zip": "8001"
    },
    "response_code": 0,
    "response_message": "Method get_user_data executed successfully."
  }
}

Get rental price

Work out what renting a resource for a period would cost.

Inputs

Resourceresource_idnumberRequired
The resource. Pick one, or use a resource ID from List resources.
Startstart_timetextRequired
When the rental starts, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Endend_timetextRequired
When the rental ends, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
QuantityquantitynumberRequired
How many units.At least 1.
Customercustomernumber
A customer, when the price depends on who rents.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "currency": "CHF",
      "total": 90.0
    },
    "response_code": 0,
    "response_message": "Method get_rental_price executed successfully."
  }
}

Get reservation

Get a reservation's times, status, price, payments and customer.

Inputs

Reservation IDreservation_idnumberRequired
The reservation's ID.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "admin_notes": "Paid deposit",
      "amount_paid": 30.0,
      "creation_time": "2026-12-01 15:20:00",
      "currency": "CHF",
      "email": "anna@example.com",
      "end_time": "2030-06-03 12:00:00",
      "first_name": "Anna",
      "last_name": "Keller",
      "name": "Motor boat",
      "phone_number": "+41 445551234",
      "properties": {
        "number_of_children": "0"
      },
      "quantity": 1,
      "resource_id": 110224,
      "site_id": 37091,
      "start_time": "2030-06-03 10:00:00",
      "status": 5,
      "total_price": 90.0,
      "user_id": 902114,
      "user_notes": "Two adults",
      "user_text": "Reservation confirmed"
    },
    "response_code": 0,
    "response_message": "Method get_reservation_data executed successfully."
  }
}

Get resource

Get a resource's settings, price, rental limits and photos.

Inputs

Resourceresource_idnumberRequired
The resource. Pick one, or use a resource ID from List resources.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "category": 1,
      "confirmation_type": 0,
      "currency": "CHF",
      "is_listed": true,
      "is_overnight_stay": false,
      "is_published": true,
      "max_quantity_per_rental": 2,
      "max_rental_time": 8,
      "min_rental_time": 1,
      "name": "Motor boat",
      "photos": [
        {
          "id": 551,
          "path": "https://www.planyo.com/photos/551.jpg",
          "title": "Motor boat"
        }
      ],
      "properties": {
        "capacity": "6"
      },
      "quantity": 2,
      "site_id": 37091,
      "unit_names": "Boat A,Boat B",
      "unit_price": "45"
    },
    "response_code": 0,
    "response_message": "Method get_resource_info executed successfully."
  }
}

Get site

Get the Planyo site's name, contact email, time zone and custom properties.

Inputs

None.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "admin_id": 4417,
      "category": 3,
      "default_language": "EN",
      "email": "owner@example.com",
      "name": "Lakeside Boat Rental",
      "online_payment_surcharge": 0,
      "photos": [
        {
          "id": 551,
          "path": "https://www.planyo.com/photos/551.jpg",
          "title": "Harbour"
        }
      ],
      "properties": {
        "address": "Seestrasse 1, Zurich"
      },
      "timezone": "Europe/Zurich"
    },
    "response_code": 0,
    "response_message": "Method get_site_info executed successfully."
  }
}

List blocked time

List the periods when resources, or the whole site, are blocked off.

Inputs

Fromstart_timedateRequired
The first day to cover.
Toend_timedateRequired
The last day to cover.
Resourceresource_idtext
Only this resource's blocked time. Pick one, or use a resource ID; all lists every resource's. Leave empty for the site's own.
Include whole-site blocksinclude_site_vacationstrue/false
Also list time blocked for the whole site.
Kindtypetext
Only this kind of blocked time. Leave empty for ordinary blocks.One of: all (All kinds), 1 (Set on the availability page), 2 (From Google Calendar), 3 (From an iCal feed), 4 (Waiting list placeholders), 5 (From Outlook).

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "results": [
        {
          "comment": "Lodol QA",
          "end_time": "2030-07-01 23:59:00",
          "quantity": 1,
          "resource_id": 110224,
          "start_time": "2030-07-01 00:00:00",
          "vacation_id": 5520193
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_vacations executed successfully."
  }
}

List customers

List the site's customers, filtered as you choose, one page at a time.

Inputs

First namefirst_nametext
Only customers with this first name. You can use * to match any text, such as Jo*.
Last namelast_nametext
Only customers with this last name. You can use * to match any text, such as Jo*.
Emailemailtext
Only customers with this email address. You can use * to match any text, such as Jo*.
Citycitytext
Only customers in this city. You can use * to match any text, such as Jo*.
Countrycountrytext
Only customers in this country, as a two-letter code such as US.
Include unconfirmedlist_unconfirmedtrue/false
Also list customers who have no confirmed reservation.
Added by stafflist_created_by_admintrue/false
List the customers your staff or the API added, including those with no reservations.
Changed sincemodified_sincedate and time
Only customers added or changed since this time.
Pagepagenumber
Which page to read, starting at 0.At least 0.
Page sizepage_sizenumber
How many customers a page holds, up to 1000. Planyo's default is 100.From 1 to 1000.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "users": [
        {
          "address": "Bahnhofstrasse 5",
          "city": "Zurich",
          "country": "CH",
          "email": "anna@example.com",
          "first_name": "Anna",
          "id": 902114,
          "language": "EN",
          "last_name": "Keller",
          "login": "",
          "mobile_country_code": "41",
          "mobile_number": "791234567",
          "phone_country_code": "41",
          "phone_number": "445551234",
          "registration_time": "2026-11-02 09:14",
          "reservation_count": 3,
          "state": "ZH",
          "zip": "8001"
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_users executed successfully."
  }
}

List payments

List the payments made for the site's reservations between two days.

Inputs

Fromstart_datedateRequired
The first day to cover.
Toend_datedateRequired
The last day to cover.
Resourceresource_idnumber
Only payments for this resource's reservations.
Payment statusstatusnumber
Only payments with this status.One of: 1 (Paid), 2 (Pending), 3 (Failed), 4 (Refund).
Paid bypayment_mode_id_filternumber
Only payments made this way, as Planyo's payment method number, such as 2 for cash.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "results": [
        {
          "email": "anna@example.com",
          "first_name": "Anna",
          "last_name": "Keller",
          "payment_amount": 30.0,
          "payment_comment": "Deposit",
          "payment_currency": "CHF",
          "payment_date": "2026-12-01 15:30:00",
          "payment_id": 7781203,
          "payment_mode": "Cash",
          "payment_mode_id": 2,
          "reservation_id": 31884410,
          "resource_id": 110224,
          "status": "Payment successful",
          "status_code": 1,
          "user_id": 902114
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_payments executed successfully."
  }
}

List reservation history

List what has happened to reservations (confirmations, changes, cancellations, payments), filtered as you choose.

Inputs

Reservation IDreservation_idnumber
Only this reservation's history.
Customercustomernumber
Only the history of this customer's reservations.
Fromstart_timedate
Only events on or after this day.
Toend_timedate
Only events before this day.
Eventevent_typenumber
Only this kind of event.One of: 1 (Confirmed), 2 (Cancelled by staff), 3 (Confirmed by pre-approval), 4 (Cancelled as fraud), 5 (Cancelled by the customer), 6 (Conflict cleared), 8 (Checked in), 9 (Entered by staff), 12 (Email verified), 13 (Changed by staff), and 13 more.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "results": [
        {
          "comments": "Confirmed by phone",
          "event_type": 1,
          "moderator": "Max Muster",
          "moderator_id": 4417,
          "reservation_id": 31884410,
          "resource_id": 110224,
          "resource_name": "Motor boat",
          "time": "2026-12-01 15:25:00"
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method get_reservation_actions executed successfully."
  }
}

List reservation payments

List the payments and coupons used for a reservation.

Inputs

Reservation IDreservation_idnumberRequired
The reservation's ID.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "coupons_used": [
        {
          "amount": 20.0,
          "coupon_id": 3301,
          "type": 1
        }
      ],
      "results": [
        {
          "amount": 30.0,
          "currency": "CHF",
          "extra_info": "Deposit",
          "payment_id": 7781203,
          "payment_mode": 2,
          "payment_status": 1,
          "payment_time": "2026-12-01 15:30:00",
          "transaction_id": "R-1042"
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_reservation_payments executed successfully."
  }
}

List reservations

List the reservations that start, or were made, in a period, up to 500 a page.

Inputs

Fromstart_timedateRequired
The first day to cover.
Toend_timedateRequired
The last day to cover.
By booking datelist_by_creation_datetrue/false
Cover reservations made in the period, instead of those starting in it.
Resourceresource_idnumber
Only reservations of this resource.
Customercustomernumber
Only this customer's reservations.
Customer emailuser_emailtext
Only reservations of the customer with this email address.
With statusrequired_statusnumber
Only reservations with this status.One of: 1 (Reserved), 2 (Email verified), 4 (Confirmed), 8 (Cancelled by an administrator), 16 (Cancelled by the customer), 32 (Checked in), 64 (Fraud), 128 (Conflict), 512 (Cancelled automatically), 1024 (Checked out), and 4 more.
Without statusexcluded_statusnumber
Leave out reservations with this status.One of: 1 (Reserved), 2 (Email verified), 4 (Confirmed), 8 (Cancelled by an administrator), 16 (Cancelled by the customer), 32 (Checked in), 64 (Fraud), 128 (Conflict), 512 (Cancelled automatically), 1024 (Checked out), and 4 more.
Changed sincemodified_sincedate and time
Only reservations changed in any way since this time.
Sort bysorttext
What to sort by.One of: reservation_id (Reservation ID), start_time (Start), end_time (End), resource, user (Customer), email.
Reverse ordersort_reversetrue/false
Reverse the order.
Pagepagenumber
Which page of 500 to read, starting at 0.At least 0.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "results": [
        {
          "admin_notes": "Paid deposit",
          "amount_paid": 30.0,
          "creation_time": "2026-12-01 15:20:00",
          "email": "anna@example.com",
          "end_time": "2030-06-03 12:00:00",
          "first_name": "Anna",
          "last_name": "Keller",
          "name": "Motor boat",
          "phone": "445551234",
          "quantity": 1,
          "reservation_id": 31884410,
          "resource_id": 110224,
          "start_time": "2030-06-03 10:00:00",
          "status": 5,
          "total_price": 90.0,
          "unit_assignment": "Boat A",
          "user_id": 902114,
          "user_notes": "Two adults"
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_reservations executed successfully."
  }
}

List resources

List the site's resources (the rooms, boats, courts or other things people reserve), one page at a time.

Inputs

Published onlylist_published_onlytrue/false
Only list published resources.
Reservable on their own onlylist_reservable_onlytrue/false
Leave out resources that can only be reserved as part of a package.
Resource typeslist_resource_typeslist
Only these kinds of resource. Leave empty for all.One or more of: resource, bundle, package.
Sort bysorttext
What to sort by. Leave empty to sort by name.One of: resname (Name), site, location.
Pagepagenumber
Which page to read, starting at 0.At least 0.
Page sizepage_sizenumber
How many resources a page holds, up to 300. Planyo's default is 100.From 1 to 300.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "max_page": 0,
      "resource_count": 1,
      "resources": [
        {
          "category": 1,
          "confirmation_type": 0,
          "id": 110224,
          "name": "Motor boat",
          "quantity": 2,
          "site_id": 37091,
          "unit_names": "Boat A,Boat B"
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_resources executed successfully."
  }
}

List reviews

List up to the 500 latest reviews customers have left.

Inputs

Resourceresource_idnumber
Only reviews of this resource.
Limitlimitnumber
The most reviews to return, up to 500.From 1 to 500.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "results": [
        {
          "date": "2026-11-20 18:07:00",
          "first_name": "Anna",
          "rating": 5,
          "reply": "Thank you!",
          "resource_id": 110224,
          "text": "Lovely boat, easy pickup.",
          "user_id": 902114
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method list_reviews executed successfully."
  }
}

Record payment

Record a payment or refund against a reservation. Never enter card numbers.

Inputs

Reservation IDreservation_idnumberRequired
The reservation the payment is for.
AmountamountnumberRequired
How much was paid, such as 15.25.
CurrencycurrencytextRequired
The currency, as a three-letter code such as USD.
Paid bypayment_modenumberRequired
How it was paid.One of: 2 (Cash), 3 (Cheque), 4 (Bank transfer), 5 (Other), 6 (Gift certificate), 9 (Discount), 10 (Card on file), 40 (Custom payment method 1), 41 (Custom payment method 2), 42 (Custom payment method 3), and 3 more.
Payment statuspayment_statusnumberRequired
Whether it went through, or is a refund.One of: 1 (Paid), 2 (Pending), 3 (Failed), 4 (Refund).
Transaction IDtransaction_idtextRequired
A unique reference for this payment, such as a receipt number.
Noteextra_infotext
Any note to keep with the payment.
Don't follow upis_quiettrue/false
Don't send the emails or change the status that the payment would usually bring.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "payment_id": 7781203,
      "status": 5
    },
    "response_code": 0,
    "response_message": "Method add_reservation_payment executed successfully."
  }
}

Remove blocked time

Make a blocked-off period available again.

Inputs

Blocked time IDvacation_idnumberRequired
The blocked period's ID, from List blocked time.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "response_code": 0,
    "response_message": "Method remove_vacation executed successfully."
  }
}

Search reservations

Find reservations by customer name, email, phone, reservation ID or resource name, as the admin panel's search does.

Inputs

Search forquerytextRequired
What to look for. More words narrow the search.
Sort bysorttext
What to sort by.One of: reservation_id (Reservation ID), resource, user (Customer), email, duration (Length).

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "results": [
        {
          "admin_notes": "Paid deposit",
          "email": "anna@example.com",
          "end_time": "2030-06-03 12:00:00",
          "first_name": "Anna",
          "last_name": "Keller",
          "name": "Motor boat",
          "phone": "445551234",
          "rental_id": 31884410,
          "resource_id": 110224,
          "start_time": "2030-06-03 10:00:00",
          "user_id": 902114,
          "user_notes": "Two adults"
        }
      ]
    },
    "response_code": 0,
    "response_message": "Method reservation_search executed successfully."
  }
}

Set reservation notes

Replace a reservation's customer notes or staff notes.

Inputs

Reservation IDreservation_idnumberRequired
The reservation's ID.
Customer notesuser_notestext
The new customer notes. Leave empty to keep them.
Staff notesadmin_notestext
The new private staff notes. Leave empty to keep them.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "response_code": 0,
    "response_message": "Method set_reservation_notes executed successfully."
  }
}

Update customer

Change a customer's details. Only the fields you fill in change.

Inputs

CustomercustomernumberRequired
The customer to change. Pick one, or use a user ID.
First namefirst_nametext
Their new first name.
New emailnew_emailtext
Their new email address.
Last namelast_nametext
Their last name.
Phone country codephone_country_codetext
The phone number's country code, such as 1 for the US.
Phonephonetext
Their phone number, without the country code.
Mobile country codemobile_country_codetext
The mobile number's country code.
Mobilemobiletext
Their mobile number, without the country code.
Addressaddresstext
Their street address.
Citycitytext
Their city.
ZIP codeziptext
Their ZIP or postal code.
Statestatetext
Their state or province.
Countrycountrytext
Their country, as a two-letter code such as US.
Languageuser_languagetext
The language for emails to them, as a two-letter code such as EN.
Email verifiedemail_verifiedtrue/false
Mark their email address as verified.
Pre-approvedis_preapprovedtrue/false
Confirm this customer's reservations automatically. Turn off to stop.
Bannedis_bannedtrue/false
Ban this customer. Turn off to lift the ban.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "user_id": 902114
    },
    "response_code": 0,
    "response_message": "Method modify_user executed successfully."
  }
}

Update reservation

Change a reservation's resource, times, quantity or customer. Only the fields you fill in change.

Inputs

Reservation IDreservation_idnumberRequired
The reservation to change.
Resourceresource_idnumber
Move it to this resource.
Startstart_timetext
The new start, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Endend_timetext
The new end, in the Planyo site's own time zone, as YYYY-MM-DD HH:MM, such as 2026-12-24 14:00. For a whole day, use the next day's date with no time.
Quantityquantitynumber
The new number of units.At least 1.
Customercustomernumber
Give the reservation to this customer.
Change as staffadmin_modetrue/false
Change it as an administrator, skipping the rental rules a customer would meet.
Email the customersend_notificationstrue/false
Send the customer the usual emails. Turn off to change it quietly.
Work out the price againrecalculate_pricetrue/false
Work out the price again after the change. Turn off to keep the price.
Commentcommentstext
A comment about the change.

Outputs

dataobject
The response from Planyo.
Example output
{
  "data": {
    "data": {
      "status": 5,
      "warning_text": "The resource is not available at this time"
    },
    "response_code": 0,
    "response_message": "Method modify_reservation executed successfully."
  }
}

On this page