Developer Community

Latest Activity...

OwnerRez API - Cross-Origin Request Blocked 3 replies

Joel P
Dec 19, 2022 4:18 PM
OR Team Member Member for 16 years 167 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

Why did I get webhook failure mail repeatedly? 1 reply

Joel P
May 26, 2022 12:15 PM
OR Team Member Member for 16 years 167 posts

If you are receiving failure notifications, it means that we have tried to reach out to your webhook endpoint (configured on your OAuth App) but are unable to send the requested webhook data to you. You should review if your server is setup correctly. 

You can see the specific details of the failing requests, as well as retry them if you like, by viewing the Webhooks tab on the OAuth App page. 

If you do not need the webhooks, you can disable them per type on the OAuth App configuration. However, we strongly advise against implementing polling as our rate limiting will kick in and block your requests if you exceed our limits. 

Additionally, we do require that App developers who wish to distribute their app to other users must implement at least the application_authorization_revoked webhook. 

Why did I get webhook failure mail repeatedly? 1 reply

Kimberly L
May 26, 2022 4:38 AM
Member for 4 years 5 posts

I have a woocommerce site where I have integrated ownerrez successfully. Though I have repeatedly received the message regarding webhook failure. Can you please help me that why I got these mails? Is there anything wrong with the integration?

Beta version of the OR plugin has errors 0 replies

Donna M
Dec 24, 2021 1:36 PM
Member for 8 years 45 posts

Is anyone else having issues with the display of their widgets on their wordpress website? Webmaster installed the Beta version of the OR plugin today to see how that worked and the other widgets started displaying strangely. She disabled the plugin but the problem persists. The msg, "Please correct the errors below." is also displaying above those widgets. They were working just fine a few days ago.

Kaba locks support 21 replies

Ken T
Sep 6, 2021 2:46 PM
OR Alum Member for 6 years 1704 posts

Alas, no - there's no technical reason from OwnerRez' perspective why it won't work, it's just that Kaba doesn't allow it. Perhaps if they get more people pushing them for this capability, they will finally add it - they announced it some years ago, but so far it has not yet happened.

Kaba locks support 21 replies

Groome Vacation
Sep 5, 2021 11:20 AM
Member for 9 years 9 posts

Oh gahhhhh I can’t believe I just paid $700 to have this lock installed & its doesn’t work with owner rez. I feel super stupid. It’s the lock that everyone here in Panama City beach is pushing. Ughhhhh. I did a quick look here & saw an integration and just saw it’s for PM ONLY. Any news on this update? I’m dying 😵 ahhhhh!

CSS help 7 replies

Ken T
Jul 24, 2021 1:28 PM
OR Alum Member for 6 years 1704 posts

Have you taken a look at this page?

https://www.ownerrez.com/support/articles/hosted-website-css-magic

If you have more specific questions, please write in to the Helpdesk with a detailed description of what you're trying to do, and we'll see if we can assist.

CSS help 7 replies

Chelle W
Jul 24, 2021 11:06 AM
Member for 4 years 2 posts

Hello! I am needing help with all this technical set up. Is this something you offer? Thanks!

Change a booking tag's value 6 replies

SBF VR
Jun 25, 2021 2:10 PM
Member for 7 years 31 posts

I have the code working, thanks!

Change a booking tag's value 6 replies

Ken T
Jun 25, 2021 1:54 PM
OR Alum Member for 6 years 1704 posts

Yes, that's correct - "foo" represents a generic meaningless example tag name.

Change a booking tag's value 6 replies

SBF VR
Jun 25, 2021 1:37 PM
Member for 7 years 31 posts

In the above example, is "foo" a tag name or some kind of value (I thought tags were boolean, either they existed or they didn't, so "foo" seems like a tag name, but want to be sure I'm not making a mistake)? Thanks.

Change a booking tag's value 6 replies

Chris Hynes
Jun 25, 2021 1:32 PM
OR Team Member Member for 13 years 1406 posts

The Trigger tag criteria includes tags set on the booking itself as well as on the property or guest.

Change a booking tag's value 6 replies

SBF VR
Jun 25, 2021 1:27 PM
Member for 7 years 31 posts

How would adding the tag to the guest work with triggers (if at all), which appear to look at tags on bookings and not on guests...? If it doesn't, then adding the tag to the guest doesn't get me where I'm trying to get.

Change a booking tag's value 6 replies

Chris Hynes
Jun 25, 2021 12:24 PM
OR Team Member Member for 13 years 1406 posts

Currently, there's no way to set tags on bookings via API. You can set them on guests though, via PUT (to replace existing tags for the guest with the new set you pass) or PATCH (to add) like this:

PATCH https://app.ownerrez.com/guests/12345
{
"Tags" : [ "7890", "foo" ]
}

You can pass either a tag id or a tag name.

Change a booking tag's value 6 replies

SBF VR
Jun 25, 2021 11:16 AM
Member for 7 years 31 posts

I have the booking ID, I can figure out the tag ID # from the UI... I can't figure out what call to do in the API to change the value of a booking's tag from false to true. Because the tag is being used to fire a trigger, it's important that I find a way to set it's value based on external conditions (via the API). Thanks.

Query the Guest object? 2 replies

SBF VR
Apr 20, 2021 12:00 PM
Member for 7 years 31 posts

Follow up for posterity:

q={q} the best results came from q being the last name, but then filter the output by the guest Id to make sure we picked up the right one. Supposed to also be able to use the email address, but that returned bad data more often than I preferred.

Webhooks and feature idea/request. 1 reply

Joel P
Apr 14, 2021 11:11 AM
OR Team Member Member for 16 years 167 posts

Hi Lui,

We do have a webhooks architecture in place, but it has not been fleshed out with lots of event types yet. We hope to add a lot more features to that as we flesh out our API v2. I can't give any specific timeline on that yet, though.

Webhooks and feature idea/request. 1 reply

Lui K
Apr 13, 2021 2:03 PM
Member for 5 years 1 post

Hello OR World,

I would be interested in learning more about the OwnerRez use or thoughts of webhooks.

My specific requests would be:
Being able to define in the account webhooks for reservation changes and one for account termination.

Use cases are:
Reservation Change - Any change in a reservation would call a web address to notify me or a 3rd party if the dates, prices, number of people, or adding a pet happened.
Account Termination - Upon the removal from the active status of an OwnerRez account there be a webhook call that let the receiver take specific actions. An example of this is notice to end a coexisting service account.

Query the Guest object? 2 replies

Chris Hynes
Apr 9, 2021 1:15 PM
OR Team Member Member for 13 years 1406 posts

Yep, that API is pretty old and we're working on an update. I'll send you some details on an alternate API you can use in the meantime.

Query the Guest object? 2 replies

SBF VR
Apr 8, 2021 11:24 AM
Member for 7 years 31 posts

Attempting something with the OR API...

I can get the booking details using the numbers from the reservation ID, but the guest info includes several IDs related to other objects (address, phone, email), some of which don't appear to be available as objects to query via the API.

But it looks like the Guest object is available to query, just not documented how to query it (?q={q} isn't obvious enough). Please advise.

CSS help 7 replies

Chris-W
Apr 6, 2020 7:54 PM
Member for 5 years 1 post

I'm Having a similar issue and can't figure out how to get the Book Now Quote Info Box colors changed. I found that the class=booknow-quote-info box and changed the information I needed changed to:

.background-color {rgb(191, 248, 70)}
.background-image {linear-gradient(rgb(191, 248, 70) 0%, rgb(167, 215, 62) 100%)}
.border-bottom-color {rgb(0, 128, 0)}
.border-left-color {rgb(0, 128, 0)}
.border-right-color {rgb(0, 128, 0)}
.border-top-color {rgb(0, 128, 0)}
.color {rgb(0, 128, 0)}
.alert-info {
rgb(0, 128, 0)}

posted this in the OwnerRez Widget but doesn't seem to work. Am I missing something by not listing the CSS class?

Kaba locks support 21 replies

Chris Hynes
Feb 17, 2020 8:39 AM
OR Team Member Member for 13 years 1406 posts

I've heard some feedback they may be planning changes to the API, but nothing concrete yet. Will let you know as soon as we know!

Kaba locks support 21 replies

Lydia B
Feb 14, 2020 11:47 AM
Member for 6 years 159 posts

Boosting this to see if there are any new folks who need integration but do not qualify for the property management requirement of 10+ locks.

WOULD LOVE TO HAVE THIS FEATURE!

Chris Hynes - Who do we need to bug at Kaba?

Per OR:
We are collecting a list of folks with less than 10 locks to see if Kaba will add support for this scenario at some point if we get enough requests. If this applies to you, email us and we'll add you to the list: help@ownerreservations.com

CSS help 7 replies

Chris Hynes
Feb 8, 2020 2:53 PM
OR Team Member Member for 13 years 1406 posts

You can also apply CSS on element types or other classes already there. In this case it looks like you already figured it out :-D -- apply the color on the label element.

We do need to go through and give each element in the widgets its own class so it's even easier to style -- that's on our voluminous TODO list already ;-)

CSS help 7 replies

Danica C
Feb 7, 2020 8:12 PM
Member for 6 years 5 posts

Hi everyone. I am kind of OCD about my website look. I want all headings and titles matched by color, etc. This means I will use the CSS portion of OwnerRez with my widgets. I know how to use CSS but I don't know how to use it on OwnerRez. For example, on my website, I would write the CSS and give each style a name, and then I would call that name in the html code when I wanted to use that style. However, with a widget, I don't know what names the widget is calling. I can't see the widget code. How do I use CSS on OwnerRez? Specifically, I want the headings on my fillable blanks (like name, phone number on the quoting/inquiry widget) to be navy blue instead of black. How would I get that? Thanks!

Here is the widget on my page:
www.RentWaterscape.com/A312orz

Kaba locks support 21 replies

Chris Hynes
Dec 8, 2019 6:32 PM
OR Team Member Member for 13 years 1406 posts

Not yet, but that's a good nudge -- I'll check with Kaba and see if they've got any updates for us.

Kaba locks support 21 replies

Lydia B
Dec 6, 2019 8:27 PM
Member for 6 years 159 posts

Any update on folks using the Kaba locks integration if we only have 1 or a few properties? Thanks.