hotel_info_sections.get
read-only
Read all hotel info sections (wifi, parking, transit, house_rules, checkout, luggage) for the current tenant. Missing sections are returned with defaults (enabled: false, content: ''). Read-only.
Input parameters
Returns object.
Output fields
An object keyed by wifi, parking, transit, house_rules, checkout, luggage. Each value is object with these fields:
| Field | Type | Required | Notes |
|---|---|---|---|
enabled | boolean | yes | |
content | string | yes |
hotel_info_sections.update
writes
Update a single hotel info section. Merges the supplied key into the existing hotelInfoSections JSONB, preserving all other sections. Owner-only.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
key | enum | yes | Section key to update. — One of: wifi, parking, transit, house_rules, checkout, luggage |
enabled | boolean | yes | Whether this section is visible in the guest portal. |
content | string | yes | Operator-authored content (markdown / plain text). |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |