Lodgy.app API Documentation
Welcome to the Lodgy.app documentation
Feedback and Contacts
Sign Up for Apps
PMS Guide
Authentication
PHP Example
$c = curl_init();
curl_setopt($c,CURLOPT_URL,$endpoint);
curl_setopt($c,CURLOPT_RETURNTRANSFER,true);
curl_setopt($c,CURLOPT_HTTPHEADER,array(
'apikey:'.$apikey,
'idh:'.$idh,
'token:.%token',
'Content-Type: application/json'
));
$data = curl_exec($c);
$code = curl_getinfo($c, CURLINFO_HTTP_CODE);
curl_close($c);
Property Data
Response Example
{
"property_id": "xxx",
"property_name": "xxx",
"property_type": "xxx",
"property_cat": "xxx",
"property_address": "xxx",
"property_city": "xxx",
"property_state": "xxx",
"property_country": "xxx",
"property_zip": "xxx",
"property_lat": "xxx",
"property_long": "xxx",
"property_url": "xxx",
"property_email": "xxx",
"property_phone": "xxx",
"property_whatsapp": "xxx",
"property_fb": "xxx",
"property_ig": "xxx",
"property_youtube": "xxx",
"property_tripadvisors": "xxx",
"property_mode": "0",
"property_timeinfrom": "xxx",
"property_timeinto": "xxx",
"property_timeout": "xxx",
"property_taxes": "Yes",
"property_pets": "No"
}
Room Types
Response Example
{
"roomtypes" :
[
{
"roomtype_id": "xx",
"roomtype_name": "xx",
"roomtype_description": "xx",
"roomtype_ghostroom": "N",
"roomtype_pax": "2",
"roomtype_adults": "2",
"roomtype_children": "0",
"roomtype_babies": "0",
"roomtype_active": "1",
"roomtype_size": "24 m2",
"roomtype_smoke": "No",
"roomtype_adapted": "No Posee",
"roomtype_visible": "1",
"roomtype_floor": "1",
"roomtype_allow_minors": "No",
"roomtype_allows_unaccompanied_minors": "No"
}
]
}
Rate Plans
Response Example
{
"rateplans" :
[
{
"rateplan_id": "xx",
"rateplan_name": "xx",
"rateplan_currency": "ARS",
"rateplan_description": "xx",
"rateplan_type": "0",
"rateplan_source_rate_plan_id": "0",
"rateplan_booking_engine": "1",
"rateplan_channel_manager": "1",
"rateplan_active": "1",
"rateplan_cancellation_policy": "xx",
"rateplan_refundable": "1",
"rateplan_breakfast": "1",
"rateplan_lunch": "0",
"rateplan_snack": "0",
"rateplan_dinner": "0",
"rateplan_all_inclusive": "0",
"rateplan_condition": "Contado",
"rateplan_bank_transfer": "1",
"rateplan_cash": "0",
"rateplan_credit_card": "0",
"rateplan_credit_card_as_collateral": "0",
"rateplan_surcharge": "0",
"rateplan_installments": "1"
}
]
}
Promotions
Response Example
{
"promotions" :
[
{
"promotion_id": "9",
"promotion_name": "Clientes Alta",
"promotion_description": "",
"promotion_type": "1",
"promotion_channel": "PMS",
"promotion_code": "CLIEAL5",
"promotion_season": "1",
"promotion_date_from": "2022-08-08",
"promotion_date_to": "2099-12-31",
"promotion_book_date_from": "2024-04-23",
"promotion_book_date_to": "2025-12-31",
"promotion_condition": "Todas",
"promotion_min_nights": "1",
"promotion_nights_discount": "0",
"promotion_fix_discount": "0",
"promotion_porc_discout": "5",
"promotion_days": "0",
"promotion_active": "1"
}
]
}
Availability, Rates and Restrictions
Response Example
{
"availability" :
[
{
"id_room_type" : "32",
"room_type" : "Habitación Confort",
"qty_of_available_units" : "5",
"max_qty_pax_allowed" : "2",
"max_qty_adults_allowed" : "2",
"max_qty_minors_allowed" : "0",
"max_qty_babies_allowed" : "0",
"minors_without_adult_supervision_allowed" : "No",
"taxes_included" : "Y",
"rates" :
[
{
"id_rate_plan" :"27",
"rate_plan" :"Tarifa Pago Contado",
"1pax" :"ARS63700",
"2pax" :"ARS63700"
}
,
{
"id_rate_plan" :"28",
"rate_plan" :"Tarifa Pago Tarjetas",
"1pax" :"ARS85995",
"2pax" :"ARS85995"
}
]
}
]
}
Rates
Check Rates
To check rates and restrictions, use the following endpoint, where 'from' is the start date, 'to' is the end date and 'idrp' is the specific Rate Plan ID.
Response Example
{
"rates": [
{
"idroomtype": "32",
"roomtype": "Habitación Confort",
"rate": [
{
"date": "2025-11-15",
"1pax": "70000",
"2pax": "70000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "0",
"fs2": "0"
},
{
"date": "2025-11-16",
"1pax": "70000",
"2pax": "70000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "0",
"fs2": "0"
}
]
},
{
"idroomtype": "33",
"roomtype": "Habitación Deluxe",
"rate": [
{
"date": "2025-11-15",
"1pax": "120000",
"2pax": "120000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "0",
"fs2": "0"
},
{
"date": "2025-11-16",
"1pax": "120000",
"2pax": "120000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "0",
"fs2": "0"
}
]
},
{
"idroomtype": "1269",
"roomtype": "Cabaña Deluxe con Hidro para 2 pax",
"rate": [
{
"date": "2025-11-15",
"1pax": "140000",
"2pax": "140000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "0",
"fs2": "0"
},
{
"date": "2025-11-16",
"1pax": "140000",
"2pax": "140000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "0",
"fs2": "0"
}
]
}
]
}
Update Rates
The PMS allows you to create fixed or variable rate plans. Only fixed rate plans can be updated via the API, which requires knowing the Rate Plan ID. This ID can be obtained from the PMS Menu > Rates > Rate Plans.
PHP Request Example
$c = curl_init();
curl_setopt($c,CURLOPT_URL,$endpoint);
curl_setopt($c, CURLOPT_CUSTOMREQUEST, "PUT");
curl_setopt($h, CURLOPT_POSTFIELDS, $json);
curl_setopt($c,CURLOPT_RETURNTRANSFER,true);
curl_setopt($c,CURLOPT_HTTPHEADER,array(
'apikey:'.$apikey,
'idh:'.$idh,
'token:'.$token,
'Content-Type: application/json'
));
$data = curl_exec($c);
curl_close($c);
Json Example
{
"rates": [
{
"idrp": "23",
"idroomtype": "32",
"roomtype": "Habitación Confort",
"rate": [
{
"date": "2025-11-15",
"1pax": "70000",
"2pax": "70000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "9",
"fs2": "9"
},
{
"date": "2025-11-16",
"1pax": "70000",
"2pax": "70000",
"3pax": "0",
"4pax": "0",
"5pax": "0",
"6pax": "0",
"7pax": "0",
"8pax": "0",
"9pax": "0",
"10pax": "0",
"season": "0",
"mst": "2",
"monday": "1",
"tuesday": "1",
"wednesday": "1",
"thursday": "1",
"friday": "1",
"saturday": "1",
"sunday": "1",
"msa": "1",
"ms": "30",
"fs1": "9",
"fs2": "9"
}
]
}
]
}
Response Example
200 ok
Bookings
Check Bookings
To check bookings, use the following endpoint, where 'id' is code of the reservation.
Response Example
{
"id": "RS50122420742025112122050674",
"booked_at": "2025-10-20",
"check_in": "2025-11-21",
"check_out": "2025-11-24",
"nights": "3",
"id_room_type": "34",
"room_type": "Cabaña Vista Sierras hasta 4 pax",
"id_room": "74",
"room": "Cabaña 1",
"lastname": "Jerez",
"name": "Carlos",
"email": "cc0@guest.booking.com",
"phone": "541136295333",
"pax": "4",
"adults": "4",
"minors": "0",
"babies": "0",
"channel": "Booking",
"subtotal": "554319.62",
"taxes": "116407.12",
"total": "670726.75",
"currency": "ARS",
"others": "0",
"payments": "350000",
"status": "0",
"expedient": "",
"rate_plan": "29",
"promotion": "Sin Promo"
}
Create Booking
To create a booking, use the following endpoint, .
PHP Request Example
$c = curl_init();
curl_setopt($c,CURLOPT_URL,$endpoint);
curl_setopt($c, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($h, CURLOPT_POSTFIELDS, $json);
curl_setopt($c,CURLOPT_RETURNTRANSFER,true);
curl_setopt($c,CURLOPT_HTTPHEADER,array(
'apikey:'.$apikey,
'idh:'.$idh,
'token:'.$token,
'Content-Type: application/json'
));
$data = curl_exec($c);
curl_close($c);
Json Example
{
"booking": [
{
"checkin": "2025-11-25", //required
"checkout": "2025-11-27", //required
"idroomtype": "32", //required
"idrateplan": "27", //required
"pax": "2", //required
"adults": "2",
"minors": "0",
"babies": "0",
"paymentmethod": "Transferencia Bancaria", //required
"channel": "API",
"lastname": "Perez", //required
"name": "Juan", //required
"typeid": "DNI",
"id": "25666777", //required
"email": "juanperez@gmail.com", //required
"phone": "1122223333", //required
"address": "Diaz 547",
"city": "Buenos Aires",
"state": "Buenos Aires",
"country": "Argentina",
"comments": "comments"
}
]
}
Response Example
"reservationid":"xxx" 200
Cancel Booking
To cancel a booking, use the following endpoint, .
PHP Request Example
$c = curl_init();
curl_setopt($c,CURLOPT_URL,$endpoint);
curl_setopt($c, CURLOPT_CUSTOMREQUEST, "PUT");
curl_setopt($h, CURLOPT_POSTFIELDS, $json);
curl_setopt($c,CURLOPT_RETURNTRANSFER,true);
curl_setopt($c,CURLOPT_HTTPHEADER,array(
'apikey:'.$apikey,
'idh:'.$idh,
'token:'.$token,
'Content-Type: application/json'
));
$data = curl_exec($c);
curl_close($c);
Json Example
{
"reservationid":"xxx"
}
Response Example
"reservationid":"xxx" 200
Payments
PHP Request Example
$c = curl_init();
curl_setopt($c,CURLOPT_URL,$endpoint);
curl_setopt($c, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($h, CURLOPT_POSTFIELDS, $json);
curl_setopt($c,CURLOPT_RETURNTRANSFER,true);
curl_setopt($c,CURLOPT_HTTPHEADER,array(
'apikey:'.$apikey,
'idh:'.$idh,
'token:'.$token,
'Content-Type: application/json'
));
$data = curl_exec($c);
curl_close($c);
Json Example
{
"payment": [
{
"reservationid": "xxx", //required
"date": "2025-11-27", //required
"amount": "10.00", //required
"method": "Efectivo", //required
"currency": "ARS", //required
"rate": "1"
}
]
}
Response Example
"reservationid":"xxx" 200