Planyo
App · 26 actions
Check availability, take and manage reservations, record payments and keep customers up to date in your Planyo booking site.
Actions
| Action | What it does |
|---|---|
| Block off time | Make a resource, or the whole site, unavailable for a period. |
| Change reservation status | Confirm, cancel, check in, check out or otherwise change a reservation's status. |
| Check availability | Check whether a resource is free for a period, and how many units are left. |
| Create customer | Add a customer to the site. |
| Create reservation | Book a resource for a period for a customer. |
| Delete customer | Delete a customer who has no reservations left, other than cancelled ones. |
| Delete reservation | Delete a reservation for good. |
| Get customer | Get a customer's details by user ID or email address. |
| Get rental price | Work out what renting a resource for a period would cost. |
| Get reservation | Get a reservation's times, status, price, payments and customer. |
| Get resource | Get a resource's settings, price, rental limits and photos. |
| Get site | Get the Planyo site's name, contact email, time zone and custom properties. |
| List blocked time | List the periods when resources, or the whole site, are blocked off. |
| List customers | List the site's customers, filtered as you choose, one page at a time. |
| List payments | List the payments made for the site's reservations between two days. |
| List reservation history | List what has happened to reservations (confirmations, changes, cancellations, payments), filtered as you choose. |
| List reservation payments | List the payments and coupons used for a reservation. |
| List reservations | List the reservations that start, or were made, in a period, up to 500 a page. |
| List resources | List the site's resources (the rooms, boats, courts or other things people reserve), one page at a time. |
| List reviews | List up to the 500 latest reviews customers have left. |
| Record payment | Record a payment or refund against a reservation. |
| Remove blocked time | Make a blocked-off period available again. |
| Search reservations | Find reservations by customer name, email, phone, reservation ID or resource name, as the admin panel's search does. |
| Set reservation notes | Replace a reservation's customer notes or staff notes. |
| Update customer | Change a customer's details. |
| Update reservation | Change a reservation's resource, times, quantity or customer. |
Block off time
Make a resource, or the whole site, unavailable for a period.
Inputs
- Site ID
site_idnumberRequired - The Planyo site's ID, shown by Get resource.
- Resource
resource_idnumber - The resource to block. Leave empty to block the whole site.
- Start
start_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.
- End
end_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.
- Units
quantitynumber - How many units to block. Leave empty for all.At least 1.
- Reason
commenttext - Why it is blocked.
- Flag clashing reservations
check_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 ID
reservation_idnumberRequired - The reservation's ID.
- Change
changetextRequired - 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. - Comment
commenttext - A comment to record with the change.
- Don't email
is_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
- Resource
resource_idnumberRequired - The resource. Pick one, or use a resource ID from List resources.
- Start
start_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.
- End
end_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.
- Quantity
quantitynumberRequired - 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
- Email
emailtextRequired - Their email address.
- First name
first_nametextRequired - Their first name.
- Last name
last_nametext - Their last name.
- Phone country code
phone_country_codetext - The phone number's country code, such as 1 for the US.
- Phone
phonetext - Their phone number, without the country code.
- Mobile country code
mobile_country_codetext - The mobile number's country code.
- Mobile
mobiletext - Their mobile number, without the country code.
- Address
addresstext - Their street address.
- City
citytext - Their city.
- ZIP code
ziptext - Their ZIP or postal code.
- State
statetext - Their state or province.
- Country
countrytext - Their country, as a two-letter code such as US.
- Language
user_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
- Resource
resource_idnumberRequired - The resource. Pick one, or use a resource ID from List resources.
- Start
start_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.
- End
end_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.
- Quantity
quantitynumberRequired - How many units to reserve.At least 1.
- Customer
customernumber - An existing customer. Leave empty to give an email address and first name instead.
- Email
emailtext - The customer's email address, when no customer is picked.
- First name
first_nametext - The customer's first name, when no customer is picked.
- Last name
last_nametext - The customer's last name.
- Phone country code
phone_prefixtext - The phone number's country code, such as 1 for the US.
- Phone
phone_numbertext - The customer's phone number, without the country code.
- Customer notes
user_notestext - Notes from the customer.
- Staff notes
admin_notestext - Private notes for your staff.
- Book as staff
admin_modetrue/false - Book as an administrator: skips the booking form's required fields, rental rules and email verification.
- Email the customer
send_notificationstrue/false - Send the customer the usual emails. Turn off to book quietly.
- Price
custom_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
- Customer
customernumberRequired - 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 ID
reservation_idnumberRequired - The reservation to delete.
- Also delete the customer
delete_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
- Customer
customernumber - The customer. Pick one, or use a user ID. Give this or an email address.
- Email
emailtext - 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
- Resource
resource_idnumberRequired - The resource. Pick one, or use a resource ID from List resources.
- Start
start_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.
- End
end_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.
- Quantity
quantitynumberRequired - How many units.At least 1.
- Customer
customernumber - 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 ID
reservation_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
- Resource
resource_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
- From
start_timedateRequired - The first day to cover.
- To
end_timedateRequired - The last day to cover.
- Resource
resource_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 blocks
include_site_vacationstrue/false - Also list time blocked for the whole site.
- Kind
typetext - 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 name
first_nametext - Only customers with this first name. You can use * to match any text, such as Jo*.
- Last name
last_nametext - Only customers with this last name. You can use * to match any text, such as Jo*.
- Email
emailtext - Only customers with this email address. You can use * to match any text, such as Jo*.
- City
citytext - Only customers in this city. You can use * to match any text, such as Jo*.
- Country
countrytext - Only customers in this country, as a two-letter code such as US.
- Include unconfirmed
list_unconfirmedtrue/false - Also list customers who have no confirmed reservation.
- Added by staff
list_created_by_admintrue/false - List the customers your staff or the API added, including those with no reservations.
- Changed since
modified_sincedate and time - Only customers added or changed since this time.
- Page
pagenumber - Which page to read, starting at 0.At least 0.
- Page size
page_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
- From
start_datedateRequired - The first day to cover.
- To
end_datedateRequired - The last day to cover.
- Resource
resource_idnumber - Only payments for this resource's reservations.
- Payment status
statusnumber - Only payments with this status.One of:
1(Paid),2(Pending),3(Failed),4(Refund). - Paid by
payment_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 ID
reservation_idnumber - Only this reservation's history.
- Customer
customernumber - Only the history of this customer's reservations.
- From
start_timedate - Only events on or after this day.
- To
end_timedate - Only events before this day.
- Event
event_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 ID
reservation_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
- From
start_timedateRequired - The first day to cover.
- To
end_timedateRequired - The last day to cover.
- By booking date
list_by_creation_datetrue/false - Cover reservations made in the period, instead of those starting in it.
- Resource
resource_idnumber - Only reservations of this resource.
- Customer
customernumber - Only this customer's reservations.
- Customer email
user_emailtext - Only reservations of the customer with this email address.
- With status
required_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 status
excluded_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 since
modified_sincedate and time - Only reservations changed in any way since this time.
- Sort by
sorttext - What to sort by.One of:
reservation_id(Reservation ID),start_time(Start),end_time(End),resource,user(Customer),email. - Reverse order
sort_reversetrue/false - Reverse the order.
- Page
pagenumber - 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 only
list_published_onlytrue/false - Only list published resources.
- Reservable on their own only
list_reservable_onlytrue/false - Leave out resources that can only be reserved as part of a package.
- Resource types
list_resource_typeslist - Only these kinds of resource. Leave empty for all.One or more of:
resource,bundle,package. - Sort by
sorttext - What to sort by. Leave empty to sort by name.One of:
resname(Name),site,location. - Page
pagenumber - Which page to read, starting at 0.At least 0.
- Page size
page_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
- Resource
resource_idnumber - Only reviews of this resource.
- Limit
limitnumber - 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 ID
reservation_idnumberRequired - The reservation the payment is for.
- Amount
amountnumberRequired - How much was paid, such as 15.25.
- Currency
currencytextRequired - The currency, as a three-letter code such as USD.
- Paid by
payment_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 status
payment_statusnumberRequired - Whether it went through, or is a refund.One of:
1(Paid),2(Pending),3(Failed),4(Refund). - Transaction ID
transaction_idtextRequired - A unique reference for this payment, such as a receipt number.
- Note
extra_infotext - Any note to keep with the payment.
- Don't follow up
is_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 ID
vacation_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 for
querytextRequired - What to look for. More words narrow the search.
- Sort by
sorttext - 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 ID
reservation_idnumberRequired - The reservation's ID.
- Customer notes
user_notestext - The new customer notes. Leave empty to keep them.
- Staff notes
admin_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
- Customer
customernumberRequired - The customer to change. Pick one, or use a user ID.
- First name
first_nametext - Their new first name.
- New email
new_emailtext - Their new email address.
- Last name
last_nametext - Their last name.
- Phone country code
phone_country_codetext - The phone number's country code, such as 1 for the US.
- Phone
phonetext - Their phone number, without the country code.
- Mobile country code
mobile_country_codetext - The mobile number's country code.
- Mobile
mobiletext - Their mobile number, without the country code.
- Address
addresstext - Their street address.
- City
citytext - Their city.
- ZIP code
ziptext - Their ZIP or postal code.
- State
statetext - Their state or province.
- Country
countrytext - Their country, as a two-letter code such as US.
- Language
user_languagetext - The language for emails to them, as a two-letter code such as EN.
- Email verified
email_verifiedtrue/false - Mark their email address as verified.
- Pre-approved
is_preapprovedtrue/false - Confirm this customer's reservations automatically. Turn off to stop.
- Banned
is_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 ID
reservation_idnumberRequired - The reservation to change.
- Resource
resource_idnumber - Move it to this resource.
- Start
start_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.
- End
end_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.
- Quantity
quantitynumber - The new number of units.At least 1.
- Customer
customernumber - Give the reservation to this customer.
- Change as staff
admin_modetrue/false - Change it as an administrator, skipping the rental rules a customer would meet.
- Email the customer
send_notificationstrue/false - Send the customer the usual emails. Turn off to change it quietly.
- Work out the price again
recalculate_pricetrue/false - Work out the price again after the change. Turn off to keep the price.
- Comment
commentstext - 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."
}
}