Skip to content

Property lifecycle

complete approved (1st property)
draft ─────────────► pending_validation ─────────────► published
▲ │ ▲
│ something is missing pause │ │ activate
└───────────────────────────────────────────────── ▼ │
paused
status Visible to guests Meaning
draft no Incomplete. missing says what is missing.
pending_validation no Complete, awaiting a Localoge administrator.
published yes Live and bookable.
paused no Taken off sale, reversible.

Every status change is sent to you through the property.status_changed webhook.

Each partner’s first property goes to pending_validation as soon as it is complete. A Localoge administrator reviews it: amenity mapping, amounts in cents, photos, address. Once approved, it is published, and your following properties are published automatically as soon as they are complete.

Two changes send a published property back to pending_validation: a new title and new photos. Everything else (prices, calendar, description, amenities) is applied without review.

Fenêtre de terminal
curl -X POST https://localoge.com/api/v1/channel/properties/PROP-4821/pause \
-H "Authorization: Bearer $LOCALOGE_KEY"
{
"success": true,
"environment": "production",
"data": { "external_property_id": "PROP-4821", "listing_id": "9f2c…", "status": "paused", "link_status": "paused" }
}

The property drops out of search and can no longer be booked. Existing reservations are kept: a pause cancels nothing.

Fenêtre de terminal
curl -X POST https://localoge.com/api/v1/channel/properties/PROP-4821/activate \
-H "Authorization: Bearer $LOCALOGE_KEY"

Same response shape. status is published if the property is complete, pending_validation if it still needs to be reviewed, or draft if something is missing (the missing field of a PUT /properties/{id} tells you what).

Fenêtre de terminal
curl -X DELETE https://localoge.com/api/v1/channel/properties/PROP-4821 \
-H "Authorization: Bearer $LOCALOGE_KEY"

DELETE archives the property: it is taken off sale, but its history (past stays, reviews, messages) is kept, as the law and dispute handling require. The response, like GET /properties afterwards, carries status: "paused" and link_status: "archived". The property.status_changed webhook is sent with reason: "archived by partner".

Code Situation
200 Archived.
404 PROPERTY_NOT_FOUND This ID does not exist on our side.
409 CONFLICT There is an upcoming stay on this property. Cancel it or wait until it is over.
Fenêtre de terminal
curl https://localoge.com/api/v1/channel/properties/PROP-4821/photos \
-H "Authorization: Bearer $LOCALOGE_KEY"
{
"success": true,
"environment": "production",
"data": {
"photos": [
{ "media_id": "m1…", "url": "https://localoge.com/uploads/…", "position": 0, "is_cover": true, "source_url": "https://votre-cdn.example.com/4821/1.jpg", "caption": null }
],
"videos": [
{ "media_id": "v1…", "url": "https://localoge.com/uploads/…", "thumbnail_url": null, "position": 0, "source_url": "https://votre-cdn.example.com/4821/visite.mp4" }
]
}
}

The cover (is_cover) is the first photo by position. source_url is the address we fetched the photo from: it is what lets you match our media with yours. See Photos.