⚙️ Hotel Data Management
Sync hotel static data from RateHawk into MongoDB. Metapolicy data is included in the dump.
🗄️ Database Overview
Loading stats…
ℹ️ About metapolicy_struct
The metapolicy_struct field (internet, parking, pets, meals, deposit, etc.) is part of the hotel dump data.
In the sandbox, these fields are empty because test hotels have no real policies.
In production, the dump contains full metapolicy data — no separate API call needed.
📦 Weekly Dump
Downloads the FULL hotel dump from /hotel/info/dump/ and upserts all hotels into MongoDB. Run once per week.
🔄 Daily Update
Downloads only hotels changed since yesterday from /hotel/info/incremental_dump/. Run once per day.