OwnerRez
App · 25 actions
Manage OwnerRez bookings, guests, quotes and tags, read properties, inquiries, owners, reviews and payments, and follow new bookings, cancellations, inquiries, quotes, guests and payments.
Actions
| Action | What it does |
|---|---|
| Add tag | Add a tag to a booking, guest, property, quote, inquiry or owner. |
| Create booking | Add a guest booking, a blocked-off time or an owner stay to a property's calendar. |
| Create guest | Add a guest (contact) to OwnerRez. |
| Create quote | Quote a guest for a stay at a property, with the property's charges worked out. |
| Delete guest | Delete a guest from OwnerRez. |
| Delete quote | Delete a quote. |
| Get booking | Get a booking: its property, guest, dates, party size, status and totals. |
| Get current user | Get the OwnerRez user that's connected: name, email, company and time zone. |
| Get guest | Get a guest with their email addresses, phone numbers, addresses and notes. |
| Get inquiry | Get an inquiry: its property, guest, requested dates, party size and comments. |
| Get property | Get a property's details: address, rooms, guest limits and check-in and check-out times. |
| Get quote | Get a quote: its property, guest, dates, party size and expiry. |
| List bookings | List bookings for some properties or changed since a time, optionally by stay dates and status. |
| List guests | Search guests by name, email or phone, or list those created since a time or staying between dates. |
| List inquiries | List guest inquiries, optionally for some properties or changed since a time. |
| List owners | List the property owners in the account. |
| List payments | List payments received, optionally for one booking or changed since a time. |
| List properties | List the account's properties with their address, size and check-in rules. |
| List quotes | List quotes, optionally for some properties or changed since a time. |
| List reviews | List guest reviews of the account's properties. |
| List tag definitions | List the tags set up in the account, which can be added to records. |
| List tags on record | List the tags on a booking, guest, property, quote, inquiry or owner. |
| Remove tag | Remove a tag from a record, by the tag's ID or by its name. |
| Update booking | Change a booking's dates, times, party size, title or notes. |
| Update guest | Change a guest's details. |
Add tag
Add a tag to a booking, guest, property, quote, inquiry or owner.
Inputs
- Record type
entity_typetextRequired - What kind of record the tag is on.One of:
booking,inquiry,property,quote,guest,blocked_off_time(Blocked-off time),owner(Owner stay). - Record ID
entity_idnumberRequired - The record's ID in OwnerRez.At least 1.
- Tag
nametextRequired - The tag to add, by name. Choose one set up in OwnerRez or type a new one.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"entity_id": 1,
"entity_type": "example",
"id": 1,
"name": "example",
"tag_definition_id": 1
}
}Create booking
Add a guest booking, a blocked-off time or an owner stay to a property's calendar.
Inputs
- Property
property_idnumberRequired - The property.At least 1.
- Arrival
arrivaldateRequired - Arrival date, in the property's time zone.
- Departure
departuredateRequired - Departure date, in the property's time zone.
- Type
typetext - What to add. Leave empty for a guest booking.One of:
booking,block(Blocked-off time),owner(Owner stay). Default:booking. - Guest ID
guest_idnumber - The guest's ID in OwnerRez. Needed for a guest booking; leave empty for a blocked-off time or owner stay.At least 1.
- Title
titletext - A label for the booking, usually for a blocked-off time.
- Check-in time
check_intime - Check-in time in the property's time zone. Leave empty for the property's own.
- Check-out time
check_outtime - Check-out time in the property's time zone. Leave empty for the property's own.
- Adults
adultsnumber - The number of adults.At least 0.
- Children
childrennumber - The number of children.At least 0.
- Infants
infantsnumber - The number of infants.At least 0.
- Pets
petsnumber - The number of pets.At least 0.
- Notes
notestext - Internal notes.
- Listing site
listing_site_idnumber - The listing site (channel) it is attributed to.At least 1.
- Add default charges
generate_chargestrue/false - Add the property's default charges to the booking. Needs at least one adult.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"adults": 1,
"arrival": "example",
"booked_utc": "example",
"canceled_utc": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"currency_code": "example",
"departure": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"owner_id": 1,
"pets": 1,
"platform_reservation_number": "example",
"property": {
"external_name": "example",
"id": 1,
"internal_code": "example",
"name": "example",
"public_url": "example"
},
"property_id": 1,
"quote_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"total_amount": 1,
"total_owed": 1,
"total_paid": 1,
"total_refunded": 1,
"type": "example",
"updated_utc": "example"
}
}Create guest
Add a guest (contact) to OwnerRez.
Inputs
- First name
first_nametext - The guest's first name.
- Last name
last_nametext - The guest's last name.
- Email
emailtext - The guest's email address. It becomes their default email address.
- Phone
phonetext - The guest's phone number. It becomes their default phone number.
- Notes
notestext - Notes about the guest.
- Preferred language
preferred_languagetext - The guest's preferred language as a language tag, such as es or es-MX.
- Banned
is_bannedtrue/false - Mark the guest as banned from booking.
- Opted out of marketing email
opt_out_marketing_emailtrue/false - The guest has opted out of marketing email.
- Opted out of marketing texts
opt_out_marketing_smstrue/false - The guest has opted out of marketing text messages.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"addresses": [
{
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
}
],
"email_addresses": [
{
"address": "example",
"id": 1,
"is_default": true,
"type": "example"
}
],
"first_name": "example",
"id": 1,
"is_banned": true,
"last_name": "example",
"notes": "example",
"opt_out_marketing_email": true,
"opt_out_marketing_sms": true,
"opt_out_transactional_sms": true,
"phones": [
{
"extension": "example",
"id": 1,
"is_default": true,
"number": "example",
"type": "example"
}
],
"preferred_language": "example",
"tags": [
"example"
]
}
}Create quote
Quote a guest for a stay at a property, with the property's charges worked out.
Inputs
- Property
property_idnumberRequired - The property.At least 1.
- Guest ID
guest_idnumberRequired - The guest's ID in OwnerRez. Create the guest first with Create guest if they are new.At least 1.
- Arrival
arrivaldateRequired - Arrival date, in the property's time zone.
- Departure
departuredateRequired - Departure date, in the property's time zone.
- Check-in time
check_intime - Check-in time in the property's time zone. Leave empty for the property's own.
- Check-out time
check_outtime - Check-out time in the property's time zone. Leave empty for the property's own.
- Adults
adultsnumber - The number of adults.At least 0.
- Children
childrennumber - The number of children.At least 0.
- Infants
infantsnumber - The number of infants.At least 0.
- Pets
petsnumber - The number of pets.At least 0.
- Notes
notestext - Notes about the quote.
- Listing site
listing_site_idnumber - The listing site (channel) it is attributed to.At least 1.
- Discount code
discount_codetext - A discount code to apply.
- Expires
expiresdate and time - When the quote expires. Leave empty for the property's default.
- Hold dates
hold_datestrue/false - Hold the dates on the calendar while the quote is open.
- Email the guest
send_emailtrue/false - Send OwnerRez's quote email to the guest.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"adults": 1,
"arrival": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"departure": "example",
"expires_utc": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"hold_dates": true,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"payment_form": "example",
"pets": 1,
"property_id": 1,
"quoted_utc": "example",
"tags": [
"example"
],
"updated_utc": "example"
}
}Delete guest
Delete a guest from OwnerRez.
Inputs
- Guest ID
guest_idnumberRequired - The guest's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"deleted": true,
"id": 1
}
}Delete quote
Delete a quote.
Inputs
- Quote ID
quote_idnumberRequired - The quote's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"deleted": true,
"id": 1
}
}Get booking
Get a booking: its property, guest, dates, party size, status and totals.
Inputs
- Booking ID
booking_idnumberRequired - The booking's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"adults": 1,
"arrival": "example",
"booked_utc": "example",
"canceled_utc": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"currency_code": "example",
"departure": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"owner_id": 1,
"pets": 1,
"platform_reservation_number": "example",
"property": {
"external_name": "example",
"id": 1,
"internal_code": "example",
"name": "example",
"public_url": "example"
},
"property_id": 1,
"quote_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"total_amount": 1,
"total_owed": 1,
"total_paid": 1,
"total_refunded": 1,
"type": "example",
"updated_utc": "example"
}
}Get current user
Get the OwnerRez user that's connected: name, email, company and time zone.
Inputs
None.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"company_name": "example",
"email_address": "example",
"first_name": "example",
"id": 1,
"last_name": "example",
"time_zone": "example"
}
}Get guest
Get a guest with their email addresses, phone numbers, addresses and notes.
Inputs
- Guest ID
guest_idnumberRequired - The guest's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"addresses": [
{
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
}
],
"email_addresses": [
{
"address": "example",
"id": 1,
"is_default": true,
"type": "example"
}
],
"first_name": "example",
"id": 1,
"is_banned": true,
"last_name": "example",
"notes": "example",
"opt_out_marketing_email": true,
"opt_out_marketing_sms": true,
"opt_out_transactional_sms": true,
"phones": [
{
"extension": "example",
"id": 1,
"is_default": true,
"number": "example",
"type": "example"
}
],
"preferred_language": "example",
"tags": [
"example"
]
}
}Get inquiry
Get an inquiry: its property, guest, requested dates, party size and comments.
Inputs
- Inquiry ID
inquiry_idnumberRequired - The inquiry's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"adults": 1,
"arrival": "example",
"children": 1,
"comments": "example",
"created_utc": "example",
"departure": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"guests": 1,
"id": 1,
"infants": 1,
"listing_site": "example",
"pets": 1,
"property_id": 1,
"received_utc": "example",
"tags": [
"example"
],
"type": "example",
"updated_utc": "example"
}
}Get property
Get a property's details: address, rooms, guest limits and check-in and check-out times.
Inputs
- Property
property_idnumberRequired - The property.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"active": true,
"address": {
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
},
"bathrooms": 1,
"bedrooms": 1,
"check_in": "example",
"check_out": "example",
"created_utc": "example",
"currency_code": "example",
"external_name": "example",
"id": 1,
"internal_code": "example",
"max_adults": 1,
"max_children": 1,
"max_guests": 1,
"max_pets": 1,
"name": "example",
"owner_id": 1,
"property_type": "example",
"public_url": "example",
"tags": [
"example"
],
"thumbnail_url": "example",
"time_zone": "example",
"updated_utc": "example"
}
}Get quote
Get a quote: its property, guest, dates, party size and expiry.
Inputs
- Quote ID
quote_idnumberRequired - The quote's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"adults": 1,
"arrival": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"departure": "example",
"expires_utc": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"hold_dates": true,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"payment_form": "example",
"pets": 1,
"property_id": 1,
"quoted_utc": "example",
"tags": [
"example"
],
"updated_utc": "example"
}
}List bookings
List bookings for some properties or changed since a time, optionally by stay dates and status.
Inputs
- Properties
property_idslist - Only these properties. Leave empty for every property.
- Changed since
sincedate and time - Only records created or changed at or after this time.
- Departs on or after
departs_fromdate - Only bookings that depart on or after this date.
- Arrives on or before
arrives_untildate - Only bookings that arrive on or before this date.
- Status
statustext - Only bookings with this status.One of:
active,pending,canceled. - Include guest
include_guesttrue/false - Also return each booking's guest name.
- Include charges
include_chargestrue/false - Also return each booking's charges.
- Include tags
include_tagstrue/false - Also return each booking's tags.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"adults": 1,
"arrival": "example",
"booked_utc": "example",
"canceled_utc": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"currency_code": "example",
"departure": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"owner_id": 1,
"pets": 1,
"platform_reservation_number": "example",
"property": {
"external_name": "example",
"id": 1,
"internal_code": "example",
"name": "example",
"public_url": "example"
},
"property_id": 1,
"quote_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"total_amount": 1,
"total_owed": 1,
"total_paid": 1,
"total_refunded": 1,
"type": "example",
"updated_utc": "example"
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List guests
Search guests by name, email or phone, or list those created since a time or staying between dates.
Inputs
- Search
searchtext - Words to search for in a guest's name, email address or phone number.
- Created since
created_sincedate and time - Only guests created at or after this time.
- Departs on or after
departs_fromdate - Only guests whose stay departs on or after this date.
- Arrives on or before
arrives_untildate - Only guests whose stay arrives on or before this date.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"addresses": [
{
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
}
],
"email_addresses": [
{
"address": "example",
"id": 1,
"is_default": true,
"type": "example"
}
],
"first_name": "example",
"id": 1,
"is_banned": true,
"last_name": "example",
"notes": "example",
"opt_out_marketing_email": true,
"opt_out_marketing_sms": true,
"opt_out_transactional_sms": true,
"phones": [
{
"extension": "example",
"id": 1,
"is_default": true,
"number": "example",
"type": "example"
}
],
"preferred_language": "example",
"tags": [
"example"
]
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List inquiries
List guest inquiries, optionally for some properties or changed since a time.
Inputs
- Properties
property_idslist - Only these properties. Leave empty for every property.
- Changed since
sincedate and time - Only records created or changed at or after this time.
- Include guest
include_guesttrue/false - Also return each inquiry's guest name.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"adults": 1,
"arrival": "example",
"children": 1,
"comments": "example",
"created_utc": "example",
"departure": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"guests": 1,
"id": 1,
"infants": 1,
"listing_site": "example",
"pets": 1,
"property_id": 1,
"received_utc": "example",
"tags": [
"example"
],
"type": "example",
"updated_utc": "example"
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List owners
List the property owners in the account.
Inputs
- Active
activetrue/false - Only active owners (true) or only inactive ones (false). Leave empty for both.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"active": true,
"address": {
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
},
"email_address": "example",
"id": 1,
"name": "example",
"notes": "example",
"phone": {
"extension": "example",
"id": 1,
"is_default": true,
"number": "example",
"type": "example"
},
"tags": [
"example"
]
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List payments
List payments received, optionally for one booking or changed since a time.
Inputs
- Booking ID
booking_idnumber - Only payments on this booking.At least 1.
- Changed since
sincedate and time - Only records created or changed at or after this time.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"amount": 1,
"booking_id": 1,
"collected_utc": "example",
"description": "example",
"id": 1,
"is_deposited": true,
"total_fees": 1,
"type": "example"
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List properties
List the account's properties with their address, size and check-in rules.
Inputs
- Active
activetrue/false - Only active properties (true) or only inactive ones (false). Leave empty for both.
- Available from
available_fromdate - With Available until, only properties free for that whole stay.
- Available until
available_untildate - With Available from, only properties free for that whole stay.
- Include tags
include_tagstrue/false - Also return each property's tags.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"active": true,
"address": {
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
},
"bathrooms": 1,
"bedrooms": 1,
"check_in": "example",
"check_out": "example",
"created_utc": "example",
"currency_code": "example",
"external_name": "example",
"id": 1,
"internal_code": "example",
"max_adults": 1,
"max_children": 1,
"max_guests": 1,
"max_pets": 1,
"name": "example",
"owner_id": 1,
"property_type": "example",
"public_url": "example",
"tags": [
"example"
],
"thumbnail_url": "example",
"time_zone": "example",
"updated_utc": "example"
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List quotes
List quotes, optionally for some properties or changed since a time.
Inputs
- Properties
property_idslist - Only these properties. Leave empty for every property.
- Changed since
sincedate and time - Only records created or changed at or after this time.
- Include guest
include_guesttrue/false - Also return each quote's guest name.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"adults": 1,
"arrival": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"departure": "example",
"expires_utc": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"hold_dates": true,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"payment_form": "example",
"pets": 1,
"property_id": 1,
"quoted_utc": "example",
"tags": [
"example"
],
"updated_utc": "example"
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List reviews
List guest reviews of the account's properties. Needs OwnerRez's Integrated Websites premium.
Inputs
- Properties
property_idslist - Only these properties. Leave empty for every property.
- Changed since
sincedate and time - Only records created or changed at or after this time.
- Visible
visibletrue/false - Only visible reviews (true) or only hidden ones (false). Leave empty for both.
- Include guest
include_guesttrue/false - Also return each review's guest name.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"body": "example",
"booking_id": 1,
"created_utc": "example",
"date": "example",
"display_name": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"id": 1,
"listing_site": "example",
"property": {
"external_name": "example",
"id": 1,
"internal_code": "example",
"name": "example",
"public_url": "example"
},
"property_id": 1,
"response": "example",
"reviewer": "example",
"stars": 1,
"title": "example",
"updated_utc": "example",
"visible": true
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List tag definitions
List the tags set up in the account, which can be added to records.
Inputs
- Active
activetrue/false - Only active tags (true) or only inactive ones (false). Leave empty for both.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"color": "example",
"description": "example",
"id": 1,
"name": "example",
"title": "example"
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}List tags on record
List the tags on a booking, guest, property, quote, inquiry or owner.
Inputs
- Record type
entity_typetextRequired - What kind of record the tag is on.One of:
booking,inquiry,property,quote,guest,blocked_off_time(Blocked-off time),owner(Owner stay). - Record ID
entity_idnumberRequired - The record's ID in OwnerRez.At least 1.
- Records to return
limitnumber - How many records to return, up to 100. Leave empty for 100.From 1 to 100.
- Next cursor
cursortext - The Next cursor from the last page, to read the page after it. Leave empty for the first page.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"items": [
{
"entity_id": 1,
"entity_type": "example",
"id": 1,
"name": "example",
"tag_definition_id": 1
}
],
"next_cursor": "example",
"next_page_url": "example"
}
}Remove tag
Remove a tag from a record, by the tag's ID or by its name.
Inputs
- Tag ID
tag_idnumber - The tag's ID, which Add tag and List tags on record return. Leave empty to remove by name.At least 1.
- Tag name
nametext - The tag's name, to remove it by name with the record type and ID.
- Record type
entity_typetext - What kind of record the tag is on.One of:
booking,inquiry,property,quote,guest,blocked_off_time(Blocked-off time),owner(Owner stay). - Record ID
entity_idnumber - The record's ID in OwnerRez.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"name": "example",
"removed": true,
"tag_id": 1
}
}Update booking
Change a booking's dates, times, party size, title or notes. Only the fields filled in change.
Inputs
- Booking ID
booking_idnumberRequired - The booking's ID in OwnerRez.At least 1.
- Arrival
arrivaldate - New arrival date, in the property's time zone.
- Departure
departuredate - New departure date, in the property's time zone.
- Title
titletext - A new label for the booking.
- Check-in time
check_intime - Check-in time in the property's time zone. Leave empty for the property's own.
- Check-out time
check_outtime - Check-out time in the property's time zone. Leave empty for the property's own.
- Adults
adultsnumber - The number of adults.At least 0.
- Children
childrennumber - The number of children.At least 0.
- Infants
infantsnumber - The number of infants.At least 0.
- Pets
petsnumber - The number of pets.At least 0.
- Notes
notestext - Internal notes.
- Listing site
listing_site_idnumber - The listing site (channel) it is attributed to.At least 1.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"adults": 1,
"arrival": "example",
"booked_utc": "example",
"canceled_utc": "example",
"check_in": "example",
"check_out": "example",
"children": 1,
"created_utc": "example",
"currency_code": "example",
"departure": "example",
"guest": {
"first_name": "example",
"id": 1,
"last_name": "example"
},
"guest_id": 1,
"id": 1,
"infants": 1,
"listing_site": "example",
"notes": "example",
"owner_id": 1,
"pets": 1,
"platform_reservation_number": "example",
"property": {
"external_name": "example",
"id": 1,
"internal_code": "example",
"name": "example",
"public_url": "example"
},
"property_id": 1,
"quote_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"total_amount": 1,
"total_owed": 1,
"total_paid": 1,
"total_refunded": 1,
"type": "example",
"updated_utc": "example"
}
}Update guest
Change a guest's details. Only the fields filled in change; an email or phone given replaces the guest's list of them.
Inputs
- Guest ID
guest_idnumberRequired - The guest's ID in OwnerRez.At least 1.
- First name
first_nametext - The guest's first name.
- Last name
last_nametext - The guest's last name.
- Email
emailtext - The guest's email address. It becomes their default email address.
- Phone
phonetext - The guest's phone number. It becomes their default phone number.
- Notes
notestext - Notes about the guest.
- Preferred language
preferred_languagetext - The guest's preferred language as a language tag, such as es or es-MX.
- Banned
is_bannedtrue/false - Mark the guest as banned from booking.
- Opted out of marketing email
opt_out_marketing_emailtrue/false - The guest has opted out of marketing email.
- Opted out of marketing texts
opt_out_marketing_smstrue/false - The guest has opted out of marketing text messages.
Outputs
dataobject- The response from OwnerRez.
Example output
{
"data": {
"addresses": [
{
"city": "example",
"country": "example",
"id": 1,
"is_default": true,
"postal_code": "example",
"province": "example",
"state": "example",
"street1": "example",
"street2": "example",
"type": "example"
}
],
"email_addresses": [
{
"address": "example",
"id": 1,
"is_default": true,
"type": "example"
}
],
"first_name": "example",
"id": 1,
"is_banned": true,
"last_name": "example",
"notes": "example",
"opt_out_marketing_email": true,
"opt_out_marketing_sms": true,
"opt_out_transactional_sms": true,
"phones": [
{
"extension": "example",
"id": 1,
"is_default": true,
"number": "example",
"type": "example"
}
],
"preferred_language": "example",
"tags": [
"example"
]
}
}