Request URL: https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE
GetProduct Intro
This function allows the Connectivity Partners to retrieve the dynamic content for a specific property.
Example Request
curl --location 'https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE' \
--header 'Content-Type: text/xml' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<request type="5" timestamp="1462966882336">
<!-- Allow only 1 propery_id in request and it is the required attribute. No limitation for number of room_id and rateplan_id. If not specify room_id, all room_id of request property id will be returned. If not specify rateplan_id, all rateplan_id of request property id will be returned. language is optional. -->
<criteria language="EN">
<property id="10730279">
<rooms>
</rooms>
<rateplans>
</rateplans>
</property>
</criteria>
</request>'
Example Response
<result timestamp="1587536921195">
<property id="10730279" name="BKK Connectivity Test Hotel 11 - DO NOT BOOK" currency="THB" language="EN" live_status="1" occupancy_model="Full Rate">
<rooms>
<room room_id="129340033" room_name="Standard Doubles" num_rooms="10" num_persons="3" num_children="2" total_persons="3" num_extrabed="0" num_baby_cots="1" min_rate="100.0" max_rate="100000.0"/>
</rooms>
<rateplans>
<rateplan rateplan_id="3392615" rateplan_name="My Rate" master_rate="0" sell_start="2019-11-18T00:00:00" sell_end="9999-12-31T00:00:00" stay_start="2019-11-18" stay_end="9999-12-31" tax_included="1" rate_type="NET" min_adv_days="1" max_adv_days="1" min_los="1" max_los="1" cxl_code="1D1N_1N" offertype_id="22" offertype_name="Room Only">
<benefits>
</benefits>
</rateplan>
</rateplans>
<products>
<product room_id="129340033" rateplan_id="3392615"/>
</products>
<channels>
<channel channel_id="1" channel_name="Retail"/>
<channel channel_id="2" channel_name="Private Sale"/>
</channels>
</property>
</result>
