Choosing currency when making an API request

48 views
Skip to first unread message

Ivan Schneider

unread,
May 3, 2012, 9:38:44 AM5/3/12
to roomor...@googlegroups.com
Hi,

I can't seem to find a way to choose the currency when making an API request. Is it something that is not possible at the moment or just not documented ?

Thanks in advance for your help

Sébastien Grosjean - ZenCocoon

unread,
May 3, 2012, 11:03:45 AM5/3/12
to roomor...@googlegroups.com
Hi Ivan,

I'm not from Roomorama, however here is my point of view.

I think you are trying to create a new listing and would like to define the rates' currency, is that correct? If so, it doesn't seem documented but I guess it's with the option "currency_pre" as this one is returned when recovering a listing.

What still makes me doubt is that I can't find how to do it from the admin neither.

You can simply give it a try, but an official reply would be ideal anyway as I guess more people will face this issue.

Best regards,
- Sébastien Grosjean - BookingSync

Donald Piret

unread,
May 7, 2012, 12:57:14 AM5/7/12
to roomor...@googlegroups.com
Hello all,

Thank you for notifying us of this issue. I'm assuming like Sébastien that you are referring to the property creation API call.
We've now added the ability for you to specify the currency of your listing (this used to default to the currency of the country you were posting in) and have added this to the documentation.
Sebastien, we apologize for the currency_pre parameter, this should actually be currency_code (our designer went trigger-happy with the search and replace function). 
I have fixed all the bad parameter names that were affected so things should now be back to normal.

Please do not hesitate to get in touch if you experience any more issues with the use of the API or have any further functionality you would like to see implemented.

Best regards,

Donald
Roomorama

Sébastien Grosjean - ZenCocoon

unread,
May 7, 2012, 5:53:05 AM5/7/12
to roomor...@googlegroups.com
Thanks for the reply and fixes Donald.
- Sébastien Grosjean - ZenCocoon

Ivan Schneider

unread,
Jul 5, 2012, 9:32:30 AM7/5/12
to roomor...@googlegroups.com
In fact I was talking about the "Find properties" method of the Search API in which there is no "currency_code" parameter (although it's present in the output).

Piret Donald

unread,
Jul 5, 2012, 11:43:06 PM7/5/12
to roomor...@googlegroups.com
Hi Ivan,

I have put in a ticket for the development of this functionality into our search API. 
I will make an announcement in this group when this new functionality is available.

Best regards,

Donald
Roomorama
Reply all
Reply to author
Forward
0 new messages