Agoda Property (Products)

Getting Property Information from AGODA

This function allows the Connectivity Partners to retrieve the dynamic content for a specific property

GET ${DOMAIN}/product

Room based pricing

{
"pid":13361242,
"language":"EN"
}

Alternatively, you can include the rooms and rates you want to retrieve information for:

{
"pid":13361242,
"language":"EN",
"rooms":[150952948],
"ratePlans":[4759409]
}

Set Product

Allow partners to update room setting (such as Maximum number of persons per room, minimum rate threshold of the room) and rateplan restriction (such as minimum and maximum night of stay, minimum and maximum days purchase in advance).

It also includes the min_adv_days & max_adv_days configurations

Minimum Days in advance that rate must be booked to be eligible for a specific rateplan. To remove MinAdv restriction, default value = "0".

Maximum Days in advance that rate must be booked to be eligible for a specific rateplan. To remove MinAdv restriction, default value = "-1".

Note: "0" restricts the sale of rate plan to be same day as check in date.

{
"pid":13361242,
"currency":"USD",
"rooms":[
{
"room_id":150952948,
"num_persons":3,
"min_rate":1000
}],
"ratePlans":[
{
"rateplan_id":475228,
"min_los":1,
"max_los":1,
"min_adv_days":1,
"max_adv_days":-1
}
]
}

Set ROOMS information only

{
"pid":13361242,
"currency":"USD",
"rooms":[
{
"room_id":150952948,
"num_persons":3,
"min_rate":1000
}]
}

Set Rate Plans information only

{
"pid":13361242,
"currency":"USD",
"ratePlans":[
{
"rateplan_id":4759409,
"min_los":1,
"max_los":30,
"min_adv_days":0,
"max_adv_days":1
}
]
}