Google
List Google Lodging attributes
Get all Google Lodging attributes available in Partoo. Google Lodging attributes describe hotel-specific information such as property features, services, policies, amenities, and guest unit details. The response is grouped by lodging section. Each attribute definition gives the Google attribute id, its type, display order, available enum options when relevant, whether an exception code can be used instead of a value, and whether the attribute is read-only. Attributes marked with read_only: true are returned for display purposes only and cannot be modified through POST /v2/business/{business_id}/lodging.
get/lodging/list
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"available_exceptions": [
{
"id": "LODGING_EXCEPTION_UNSPECIFIED"
},
{
"id": "LODGING_UNDER_CONSTRUCTION"
},
{
"id": "LODGING_DEPENDENT_ON_DAY_OF_WEEK"
},
{
"id": "LODGING_DEPENDENT_ON_SEASON"
}
],
"groups": [
{
"section_id": "lodging.property",
"order": 100,
"attributes": [
{
"gmb_id": "lodging.property.checkinTime",
"type": "TIME",
"order": 10,
"options": null,
"allowed_exception": true,
"read_only": false
},
{
"gmb_id": "lodging.property.roomCount",
"type": "INTEGER",
"order": 20,
"options": null,
"allowed_exception": false,
"read_only": true
}
]
},
{
"section_id": "lodging.services",
"order": 200,
"attributes": [
{
"gmb_id": "lodging.services.languagesSpoken",
"type": "REPEATABLE_ENUM",
"order": 20,
"options": [
{
"id": "ENGLISH"
},
{
"id": "FRENCH"
}
],
"allowed_exception": true,
"read_only": false
}
]
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.