Developer Community

Latest Activity...

Slow Loading Embed 1 reply

Ryan C
Nov 5, 2024 10:40 AM
OR Team Member Member for 2 years 13 posts

Hi Brittany & Andrew- It looks like there is a script loading on your site that causes a delay before the widgets and some other elements start loading. You can try removing scripts/plugins on your site one at a time to see if you can narrow down the culprit. If you need additional assistance with this, feel free to reach out to our Helpdesk.

If you have any suggestions for the widget design, consider sharing those on our feature requests forum. We always appreciate constructive feedback that helps us improve the app.

Slow Loading Embed 1 reply

Brittany & Andrew F
Oct 30, 2024 4:36 PM
Member for 1 year 1 post

Any way to get the Embedded Widget to load faster? My widgets are taking 3-5 seconds to load on the page. Unfortunately, with the way the widgets are built, it doesnt look like I have access to the full code for the widget.

Im considering going the API route and building my own form for the website (the widget UI is a bit dated), but curious if anyone has found any other solutions before I do that.

Using WordPress with Elementor if it helps!

Booking Charges - surcharge_id and tax_id 1 reply

Joel P
Jul 11, 2024 8:06 AM
OR Team Member Member for 16 years 163 posts

Taxes are not currently available, but you can get a single Surcharge from the legacy API: https://app.ownerrez.com/help/api/get-api-surcharges-id-get We've not yet ported this endpoint to v2.

Booking Charges - surcharge_id and tax_id 1 reply

Brendan & Jessica T
Jul 10, 2024 10:40 PM
Member for 3 years 6 posts

I see that in the v2.BookingChargeModel there are a surcharge_id and tax_id exposed, is there anywhere to get the complete list of surcharges and taxes defined for a user?

Use case is- continuing to plod along on a chunk of middleware that ties ownerrez into xero. Currently have ownerrez pushing guests (and updates) into xero, now eyeing up the invoice generation side of things and eyeing up how to map the ownerrez (individual taxes listed as line items applicable to the entire invoice) to xero (tax category per line item). 

API Sandbox 2 replies

Brendan & Jessica T
Jul 2, 2024 9:59 PM
Member for 3 years 6 posts

Thanks for the clarification- the way that article was worded led me to believe that site was specific to channel integrations but it's exactly what I'm looking for! 

- Brendan

API Sandbox 2 replies

Adria H
Jul 2, 2024 9:04 PM
OR Team Member Member for 3 years 174 posts

To test your integration, register for an OwnerRez account on our stage environment.

  • To register, go to: https://securestage.ownerrez.com/join.  Use a fake credit card that passes verification (eg. 4111111111111111) to register.  Our stage environment will not process real credit card numbers.

This document outlines the info:
https://www.ownerrez.com/support/articles/api-channel-integration-setup-configuration#sandbox

API Sandbox 2 replies

Brendan & Jessica T
Jun 28, 2024 10:00 PM
Member for 3 years 6 posts

I'm currently writing a wrapper for the API in ruby (with the ultimate goal of building a service to sync guest info and invoices into Xero-- maybe payments too if those become accessible. Just curious if there is a sandbox API I can use to test against or if I have to do it against my personal account.

Please allow the retrieval of records modified since a specified date 1 reply

Tim
Jun 28, 2024 11:08 AM
Member for 7 years 51 posts

Duh. I just found the "since_utc" parameter in the API, which is exactly what I needed. Never mind.... 

Please allow the retrieval of records modified since a specified date 1 reply

Tim
Jun 28, 2024 10:17 AM
Member for 7 years 51 posts

Here's the problem: I pull booking data for a date range, let's say daily or weekly or monthly and put it into SQL

Then, someone gives a refund to a guest a few days after checkout. My data is now obsolete.

The only way to avoid this that I can see is to continually pull old data in case it's changed. 

Ideally, each record would have a "last modified" timestamp (I suspect this might already be the case, but only internally). The API would allow me to specify a "modified since" parameter, and only return data modified since that date. Then, I can update my data.

This would reduce the load on both servers, and provide a better "API experience"

Tim

platform_reservation_number is NULL for reservations made through personal website 3 replies

Ken T
Jun 4, 2024 10:26 AM
OR Alum Member for 6 years 1704 posts

Yes, since by definition if you manually entered a booking, we don't really know where it came from.  There has been discussion over the years about adding "manual" as its own listing site entry, but that's never seemed quite satisfactory either.

platform_reservation_number is NULL for reservations made through personal website 3 replies

Tim
Jun 3, 2024 9:51 PM
Member for 7 years 51 posts

I also found a booking with NULL listing_site. When I looked in OR it was a manual quote and manual booking that I had made. Is this also expected?

Tim

 

platform_reservation_number is NULL for reservations made through personal website 3 replies

Ken T
Jun 3, 2024 10:51 AM
OR Alum Member for 6 years 1704 posts

Yes, this is normal.  Bookings booked through your own website don't have a platform reservation number, because they weren't booked on a booking platform (Airbnb, Vrbo, etc.) - they were booked directly on your website.  The relevant number for them is the ORB number that all bookings of every type have, which is in the id column.

platform_reservation_number is NULL for reservations made through personal website 3 replies

Tim
Jun 3, 2024 10:09 AM
Member for 7 years 51 posts

When using the API to retrieve bookings, AirBNB and VRBO come in with a correct platform_reservation_number.

But bookings made through my personal website have no reservation number

API query:  https://api.ownerrez.com/v2/bookings?limit=100&include_charges=True&property_ids=xxxxx,yyyyyy,zzzz&from=2024-01-01&to=2024-05-31

Here is a screenshot of the data dumped into Excel

Testing Account for a Home Assistant Integration 5 replies

Paul K
Feb 26, 2024 10:15 PM
Member for 2 years 2 posts

Hey Tim,

I've done a bit of work on this, but it got put on the shelf during the holidays. Would love to collaborate with you and anyone else looking for this type of integration!

Best, Paul

 

Please add additional fields to the API 1 reply

Ryan C
Feb 21, 2024 6:16 PM
OR Team Member Member for 2 years 13 posts

Hi Tim,

Thank you for the suggestions. I've passed those along to our product management team for consideration. Let us know if you think of any other response fields that you would like to see for any of the API endpoints and we can look into those as well.

Please add additional fields to the API 1 reply

Tim
Feb 11, 2024 12:46 PM
Member for 7 years 51 posts

I'm requesting that you add the following fields to the Bookings API:

  total_rent
  total_surcharges
  total_taxes
  total_channel_fees

Currently, the API only provides these:

  total_amount
  total_host_fees
  total_paid

The problem with what you provide (from an investor/business standpoint) is that total_rent includes things like cleaning & taxes, which makes it useless for looking at profitability. This is made worse by the fact that some channels charge guests for taxes separately (AirBNB) and for some (VRBO) hosts collect and then remit them later, so it's impossible to predict how much of "total_amount" is actually income.

I realize that the API includes an array called "charges" which includes each line item charge, however this is very difficult to enumerate in code and tie to the parent record. It would be much easier to just include it in the base array along with the other totals.

Thank you for your consideration

Testing Account for a Home Assistant Integration 5 replies

Tim
Feb 8, 2024 9:20 PM
Member for 7 years 51 posts

I am also working on this!  Are you currently collaborating with anyone else?

Tim

Testing Account for a Home Assistant Integration 5 replies

Paul K
Nov 17, 2023 10:59 PM
Member for 2 years 2 posts

Same here - would love to help out!

Testing Account for a Home Assistant Integration 5 replies

George M
Nov 3, 2023 2:48 PM
Member for 3 years 1 post

I too am a big HomeAssitant user.  I would love to collaborate on this.

Testing Account for a Home Assistant Integration 5 replies

Glenn Moore
Jun 23, 2023 2:53 PM
Member for 13 years 80 posts

I am a big Home Assistant (HA) user and it is fun to add integrations into the system so that it can interact in an integrated fashion with other smart devices.  I am currently working on understanding the framework for new integrations to HA (written in Python).   A good starting point for me is to develop an integration with OwnerRez so that the calendar and properties are exposed in Home Assistant.   This way I can then add simple automation rules to my system to ... say set the temperature via my nest thermostats to a comfortable setting on the day of guest arrival (before they arrive).  Once integrated into HA, the automation engine makes all sorts of things possible!

Anyhow I have written a Python integration for OwnerRez that I can integrate into HA.  I would like to eventually make the integration as a downloadable add-in to HA users.   I know that the intersection of HA users who are also on OwnerRez is likely extremely small, but hey it is fun to do.  

My API works quite well and instanciates my property into a Python object and it then has a nice method to retrieve all future bookings (with dates and check-in times) for a pre-set number of days into the future.  The challenge that I am having is that I only have one property and I really do not want to add to my monthly cost to create a second fictional property.     I am just wondering if there is an account set up for testing that I could use to test my code against for more than one property.   Also I may like to enhance the API into the future to write rather than just read and I certainly do not want to be testing this on my single live property.

Anyhow, I am not sure anything like this exists, but I thought that I would ask.  It would be great to have an account that has, say three different properties on it with various fictional bookings.  Obviously it would only be for testing enhancements to my API.

Glenn

CSS help 7 replies

Emond W
Jun 20, 2023 9:27 AM
OR Team Member Member for 2 years 3 posts

Hello Erik,

If you want help, please contact us here https://www.ownerrez.com/contact/us
so we can exchange more details and give you proper guidance.

CSS help 7 replies

Danica C
Jun 15, 2023 3:24 PM
Member for 5 years 5 posts

I just used the closes color I could without using the CSS. I never could figure it out. This has been a couple years ago but if I remember correctly I was told the CSS wasn’t fully developed to do what I wanted (at that time). So I gave up and used the built in colors from the widgets. www.RentWaterscape.com 

CSS help 7 replies

Erik C
Jun 15, 2023 12:45 PM
Member for 2 years 7 posts

Hi Danica, what did you end up doing to accomplish this?  I'm in the same scenario you were in and can't for the life of me figure this out.  I'm familiar with CSS so don't think it's lack of knowledge in that department that's hindering me here.

Owner Portal Chart Colors 0 replies

Stacie S
Feb 24, 2023 10:24 AM
Member for 6 years 24 posts

Is there a way to show previous years' chart columns as a different color?

OwnerRez API - Cross-Origin Request Blocked 3 replies

Joel P
Dec 20, 2022 9:11 AM
OR Team Member Member for 16 years 163 posts

Yes. That's how I would recommend doing it. One reason to keep the api calls on the server is to avoid exposing your username or token to any visitors on your site.

OwnerRez API - Cross-Origin Request Blocked 3 replies

Matt M
Dec 19, 2022 5:47 PM
Member for 4 years 2 posts

Hey Joel,

Thanks for the response. I am sending the request from the client side/web browser. So I just need to make the API call to OR from my backend (haven't written one yet but it'll probably be node.js) and then build a "wrapper" API to be able to access it from my webapp, correct?

Thanks Again,

Matt

OwnerRez API - Cross-Origin Request Blocked 3 replies

Joel P
Dec 19, 2022 4:18 PM
OR Team Member Member for 16 years 163 posts

Hi Matt,

Are you running your script in a Node.js environment, or directly in a browser? The latter will not work as the metadata associated with your host page will be rejected on our end. A Node.js environment should work fine though, so long as your authentication headers are correct (which appears to be the case).

OwnerRez API - Cross-Origin Request Blocked 3 replies

Matt M
Dec 17, 2022 12:28 PM
Member for 4 years 2 posts

Hello,

I am trying to create a custom web app for myself that accesses my OwnerRez account via the OR Rest API.  I am trying to access my guest list, however, I receive the following error when making the request:

'Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.ownerrez.com/v2/guests. (Reason: CORS request did not succeed). Status code: (null).'

Here is my request from Javascript:

const res = await fetch('https://api.ownerrez.com/v2/guests', {
method: 'GET',
headers: {
'Content-type': 'application/json',
'User-Agent' : 'OR Contacts App',
'Authorization': `Basic ${base64.encode('myemail:myaccesstoken')}`
},
})
const guests = await res.json();
return guests;

 

I am able to successfully retrieve a response at the URI 'https://app.ownerrez.com/api/properties/lookup'. But all other resource requests for both v1.0 and v2.0 URIs return the above response.

Thanks in advance for any help.

-Matt

 

Widgets design 1 reply

Ken T
Jun 23, 2022 7:58 PM
OR Alum Member for 6 years 1704 posts

In the settings for each Widget in OwnerRez, there's a CSS block, where you can add CSS code that will, to some extent, change the appearance of the Widget to make it match better.

Widgets design 1 reply

LivingItUpHawaii
Jun 23, 2022 12:37 PM
Member for 3 years 11 posts

Aloha, 

 

I would really appreciate it if somebody could help me with the widgets code.  I'm locked in till 2025 with the Wix website. When I add the Availability widget, and calendar widget it looks out of place.  My page is www.livingituphawaii.com . I would like that if my potential guest clicks on the search on the home screen or if they are on my Vacation Renlar page ( properties) it looks like this page property https://www.vacayseekers.com/  and the search button.  What am I supposed to do to make it look like that? 

 

Thanks in advance. Ania