The Apartment Catalog is the master inventory that powers every other Stay Sidekick module. The Heat Map, Late Check-in Notifications, and Contact Sync tools all cross-reference this catalog to match reservation data against your real property list. Keeping it accurate and up-to-date is the single most important step before using any other feature. Each company in the platform maintains its own isolated catalog — data from one tenant is never visible to another.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sdurutr436/stay-sidekick/llms.txt
Use this file to discover all available pages before exploring further.
What the catalog stores
Each apartment record holds the following fields, drawn directly from theApartamento model:
| Field | Description |
|---|---|
nombre | Human-readable property name (required, up to 200 characters) |
id_pms | The property’s unique identifier inside your PMS (e.g. Smoobu property ID). Null for manually-created entries. |
id_externo | Internal typology or classification code. Multiple apartments can share the same id_externo if they belong to the same property type. |
direccion | Full street address (optional, up to 300 characters) |
ciudad | City (optional, up to 100 characters) |
pms_origen | How the record was created: smoobu, manual, or xlsx |
activo | Whether the apartment is active. Soft-deleted apartments remain in the database with activo = false. |
created_at / updated_at | UTC timestamps managed automatically |
Per-company uniqueness is enforced at the database level: the combination of
empresa_id + id_pms must be unique (partial index, only when id_pms is not null). This prevents duplicate PMS properties from being imported more than once.Adding apartments
There are three ways to add apartments to your catalog. Use whichever fits your workflow — all three methods perform an upsert internally, so running them more than once is always safe.- Manual creation
- Smoobu sync
- XLSX import
Use this when you want to add a single apartment by hand. Send a Response (201):All string fields are sanitized server-side (HTML stripped, whitespace trimmed) before being persisted.
POST request with a JSON body containing at least the nombre field.XLSX preview
Before committing an import, you can preview exactly which rows will be created or updated without writing anything to the database. This is useful for catching formatting issues before they affect your live catalog.PMS configuration
The Smoobu sync (and the PMS-based data feeds used by Heat Map and Late Check-ins) requires your company’s PMS API key to be stored first. The key is encrypted at rest using Fernet symmetric encryption before being written to the database — it is never returned in plain text. Read current PMS config (key is masked):proveedor values: smoobu, beds24, hostaway, cloudbeds.
Remove the PMS config:
Listing and updating apartments
List all active apartments for your company:nombre, direccion, and ciudad can be updated. Omitting a field leaves it unchanged.
Soft delete
Deleting an apartment marks it as inactive (activo = false) rather than removing the row. All historical data referencing the apartment is preserved, and the apartment disappears from the active catalog list.

