Skip to content

Importing hundreds of properties

Pushing a thousand properties one at a time works, but it holds a connection open for hours and gives you no overall view. For an initial onboarding or a portfolio migration, send them together.

The body is the same as for a single property, wrapped in a properties array. Five hundred at most per request.

Fenêtre de terminal
curl -X POST https://localoge.com/api/v1/channel/properties/bulk \
-H "Authorization: Bearer $LOCALOGE_KEY" \
-H "Content-Type: application/json" \
-d '{
"properties": [
{ "external_property_id": "PROP-1", "title": "Studio vue mer", "city": "Agde", "…": "…" },
{ "external_property_id": "PROP-2", "title": "Maison au calme", "city": "Uzès", "…": "…" }
]
}'
{
"success": true,
"data": {
"import_id": "8ae3d395-7ccd-42e3-89c8-6c22d77ec1d7",
"accepted": 2,
"status_url": "/api/v1/channel/imports/8ae3d395-7ccd-42e3-89c8-6c22d77ec1d7"
}
}

Properties with an invalid payload are rejected immediately, before the import is even accepted, and counted as failures with their reason. accepted therefore only counts the ones that go on to processing. If none is valid, you get a 400 and nothing is created.

Fenêtre de terminal
curl https://localoge.com/api/v1/channel/imports/8ae3d395-… \
-H "Authorization: Bearer $LOCALOGE_KEY"
{
"success": true,
"data": {
"id": "8ae3d395-…",
"status": "termine",
"total": 3,
"processed": 3,
"succeeded": 2,
"failed": 1,
"errors": [
{ "external_property_id": "PROP-3", "motif": "String must contain at least 1 character(s)" }
],
"started_at": "2026-08-27T00:41:02.000Z",
"ended_at": "2026-08-27T00:41:24.000Z"
}
}
status Meaning
en_attente Accepted, not started yet, or between two batches.
en_cours A batch is being processed.
termine All properties have been processed. Check failed and errors.
echec The import could not complete. Contact us with the import_id.

An import interrupted mid-processing (server restart) resumes on its own after 10 minutes without progress, where it stopped. An import not finished 48 hours after it was received ends in echec, as does an import whose partner is suspended or revoked (errors gives the reason).

total counts the properties you sent, and processed always equals succeeded + failed. A finished import with failed at zero went through entirely.

We process in batches of ten, in the background. Expect one to three seconds per property depending on the number of photos, so five hundred properties take ten to twenty-five minutes. Poll the progress every thirty seconds, not every second: this endpoint counts toward your rate limits.

It creates and updates the listing content. It pushes neither availability nor rates: send those afterwards, per property or in batches, with Availability and Rates.

And it publishes nothing. An imported property arrives as a draft: at minimum it needs three photos, and its host must have a payment account able to receive money. See Who gets paid.