Retrieve Property
The endpoint allows users to retrieve property details from Agoda using the hotel ID and channel hotel ID.
Endpoint
POST
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key. for authorization. Required for authentication.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id alphanumeric (Required)
The unique property ID as assigned by the provider upon creation of the property.
channel_hotel_id string (Required)
The existing Agoda channel hotel ID for the property to be updated.
Sample Request
Response
Response Body Element
Status string
The status of the response.
Data object
The response data, the root element.
property_name string
Name of the hotel property on Agoda.
currency_code enumerated string
The Agoda defined currency for the property (e.g., USD,NZD).
property_category integer
Category identifier for the hotel. Must be a valid Agoda hotel category code.
stars string
The number of stars, rating of the hotel. Accepts values: 0–5, with increments of 0.5.
contacts object
Object containing contact information.
contact_person object
Details of the contact person.
name string
Contact person's first name.
last_name string
Contact person's last name.
phones object
Details of the phone.
phone_number string
Contact phone number.
email string
Contact email address.
physical_address object
Object containing address details.
city_name string
City where the hotel is located.
country_codeenumerated string
ISO code for the country (e.g., NZ for New Zealand).
postal_code string
Postal code of the hotel's location.
address_line string
Detailed address of the hotel. Should not exceed 255 characters.
position object
Object containing geographical coordinates of the property.
latitude double
Latitude coordinates of the hotel location.
longitude double
Longitude coordinates of the hotel location.
check_in object
Object containing check-in time.
from enumerated string
Start time for check-in. Specify 24-hour check-in by using 00:00
check_out object
Object containing check-out time.
from enumerated string
Start time for check-out. Specify 24-hour check-in by using 00:00
channel_hotel_id string
Specifies the channel-specific hotel ID for the property.
cancel_penalty object
Object Containing cancellation policy details.
policy_code string
Cancellation policy code.
start_date string
Start date for the policy. Format: YYYY-MM-DD.
end_date string
End date for the policy. Format: YYYY-MM-DD.
property_settings object
Object containing property-specific settings.
age_restriction object
Deatils of the age restrictions.
min_guest_age integer
Minimum age required for guests.
max_infant_age integer
Maximum age for infants.
children_policies object
Children policy details such as maximum age, extra bed related.
max_age integer
Maximum age for children.
extra_bed_required_from_age integer
Age from which extra bed is required.
child_stay_free boolean
Indicates if children can stay for free.
child_stay_free_typeid integer
Type ID for child stay free policy. 1: All child stay free - Does not consider max occ no. in room level. 2: Limit no. of child stay free base on max occ, apart from that will be cost in the property.
policy_rules object
Object Containing child policy rules.
from_age integer
Starting age for the rule.
to_age integer
Ending age for the rule.
rule_description string
Description of the policy rule.
facilities object
Object containing available facilities at the property.
facility_id integer
Unique identifier for the facility.
is_available boolean
Indicates if the facility is available at the property.
images object
Object containing property images. Minimum 3 images required.
url string
URL of the image.
imageid string
Unique identifier of an existing image. Basically a su_imageid you can retrieve from image api.
pms_imageid string
Id assigned to a specific image within the PMS. Please note the image with this pms_imageid should exist in the su system.
Note: one of 3 (url, imageid, pms_imageid) parameters should be there in request.
is_primary boolean
Indicates if this is the primary image. Exactly one image must be marked as primary.
tags string
An image caption code in Agoda.
room_count integer
Number of rooms/units available for rent.
rental_license string
Official rental license number.
fee_policies object
Object containing additional fee policies. Recommended for vacation rental.
policy_code string
Fee policy code.
amount string
Fee amount.
local_recommendations object
Object Containing local area recommendations. Recommended for vacation rental.
description string
Description of the recommendation.
house_rules object
Object Containing property house rules. Recommended for vacation rental.
description string
Description of the house rule.
directions object
Object Containing directions to the property. Recommended for vacation rental.
description string
Description of the direction.
tax_policies object
Object containing additional tax policies. Recommended for vacation rental.
policy_code string
Tax policy code.
amount string
Tax amount.
start_date string
Effective start date. Format: YYYY-MM-DD.
end_date string
Expiration date. Format: YYYY-MM-DD.
contract_signed
Indicates whether contract signed or not on Agoda for property.
Message string
The message in the response.
Last updated
Was this helpful?