Skip to content

Creating and updating a property

Fenêtre de terminal
curl -X POST https://localoge.com/api/v1/channel/properties \
-H "Authorization: Bearer $LOCALOGE_KEY" \
-H "Content-Type: application/json" \
-d '{
"external_property_id": "PROP-4821",
"host_ref": "lh_4f8a2c…",
"title": "Studio vue mer, Cap d Agde",
"description": "Studio de 28 m2 a 200 metres de la plage.",
"address": "12 avenue de la Plage",
"city": "Agde",
"postal_code": "34300",
"country": "FR",
"latitude": 43.2951,
"longitude": 3.4753,
"max_guests": 4,
"bedrooms": 1,
"beds": 2,
"bathrooms": 1,
"surface_m2": 28,
"base_price": 9500,
"min_price": 7000,
"max_price": 18000,
"cleaning_fee": 4000,
"deposit_amount": 30000,
"check_in_time": "16:00",
"check_out_time": "10:00",
"cancellation_policy": "moderate",
"long_stay_cancellation_policy": "long_firm",
"amenities": ["wifi", "kitchen", "washer", "air_conditioning"]
}'
{
"success": true,
"data": {
"listing_id": "9f2c1a44-8e3b-4d21-b0c7-5e6f7a8b9c0d",
"external_property_id": "PROP-4821",
"created": true,
"unchanged": false,
"status": "draft",
"missing": ["photos"]
}
}

host_ref: which account owns this property

Section titled “host_ref: which account owns this property”

This is the most important field in the call. It identifies the user who authorized you, and therefore the Localoge account the listing will belong to: the one who gets paid, who guests will message, and who is accountable in case of a dispute.

You get it once per user, by sending them through the authorization page. See Connecting a host.

This is your reference, the one from your system. It is required, and it is what links your property to our listing. We generate a listing_id on our side: keep both, but only ever send us yours.

The pair (your account, external_property_id) is unique on our side. Replaying the same call therefore never creates a duplicate, whatever the reason for the retry. See Idempotency.

The missing field, and why your property arrives as a draft

Section titled “The missing field, and why your property arrives as a draft”

A listing pushed through the API arrives as draft. It is published automatically as soon as it is complete, and never without photos.

status Meaning
draft Incomplete: missing says what is missing. Not visible to guests.
pending_validation Complete, awaiting review by a Localoge administrator. Not visible to guests.
published Live and bookable.
paused Taken off sale, by you (POST …/pause) or by the host.

Each partner’s first property goes to pending_validation: an administrator reviews it before publication. After that, your complete properties are published automatically. A title change or new photos on a published property send it back to pending_validation. The property.status_changed webhook notifies you of every transition. See Lifecycle, which also covers pausing, reactivating and archiving.

missing lists what is still missing. As long as it is not empty, the listing is not visible to guests. It is your progress indicator: show it to your users rather than telling them the listing is live when it is not.

Registration number: only where it is required

Section titled “Registration number: only where it is required”

The tourist rental registration number (registration_number) is required only in some municipalities: Paris and the municipalities in tight housing zones. We read the rule from the municipality of the property’s address. Extending it to every municipality is planned for the fourth quarter of 2026: send it from now on whenever your client has one.

  • Where it is required and missing, the property cannot stay online without regularisation (code registration_required).
  • Where it is required and invalid, it is refused (code registration_invalid).
  • Where it is not required, leave the field empty: do not send 0 or 1234 to get past a form, a filler value would be treated as a real number. An empty string removes it.
Fenêtre de terminal
curl -X PUT https://localoge.com/api/v1/channel/properties/PROP-4821 \
-H "Authorization: Bearer $LOCALOGE_KEY" \
-H "Content-Type: application/json" \
-d '{ "title": "Studio vue mer renove", "max_guests": 5 }'
Fenêtre de terminal
curl https://localoge.com/api/v1/channel/properties/PROP-4821 \
-H "Authorization: Bearer $LOCALOGE_KEY"

When in doubt, use it rather than writing to us: it returns the listing exactly as it exists on our side, with its status and missing. It returns every writable field, under the same names (amounts in cents, times as HH:MM): you can compare, field by field, what you sent and what we understood. Photos also carry their media_id, the served URL (url) and the original URL (source_url); translations say whether they are still up_to_date; the guide says whether it exists.

The response also gives the address and the coordinates we kept, with their origin:

{
"address": "12 avenue de la Plage",
"postal_code": "34300",
"city": "Agde",
"latitude": 43.283246,
"longitude": 3.447733,
"coordinates_source": "geocoded"
}
coordinates_source Meaning
provided The coordinates are the ones you sent us
geocoded You did not send any: we computed them from the address
null No coordinates: the address could not be located

Check a geocoded property: an ambiguous address can end up in the wrong town, and that is the point shown on the map. To fix it, send the property again with latitude and longitude. If you change the address without sending coordinates, we geocode it again.

Fenêtre de terminal
curl "https://localoge.com/api/v1/channel/properties?updated_since=2026-08-25T00:00:00Z" \
-H "Authorization: Bearer $LOCALOGE_KEY"

With an inventory of several hundred properties, this saves you from resending everything every night for two actual changes. The list is cursor-paginated (limit, cursor, next_cursor): follow next_cursor until it is null. See Pagination.

Each row carries status (the listing’s status, see the table above) and link_status, the state of the link between your property and ours: active, paused, error (a sync failed) or archived (after a DELETE).

Every field is optional, except external_property_id and title. Send what your software knows: an absent field changes nothing on our side. What is still missing to publish is listed in missing, in the response.

Each field follows the same rules as the host’s own screen on Localoge: same bounds, same normalization, same refusals. A refusal answers 400 INVALID_PAYLOAD and names the field.

  • Amounts in cents (25000 = EUR 250.00), times as HH:MM (Paris time).
  • Weekdays from 0 (Sunday) to 6 (Saturday).
  • null is only accepted where it means “remove this setting” (“null” column). Elsewhere it is rejected: to change nothing, do not send the field.
  • The Postman collection has a “Create a COMPLETE property” request carrying every field at once, and its read-back.
Field Type and values null Effect
external_property_id string, 64 chars no Required. Your ID, the idempotency key
title string, 1 to 160 chars no Required. Title (French). Changing it on a published property sends it back to validation
host_ref string, 48 chars no The host account that authorized you. Without it, the account linked to your key. See Connecting a host
description string, 20,000 chars no Description (French), at least 30 characters to publish
property_type apartment, house, villa, studio, loft, cottage, chalet, guest_room, bed_and_breakfast, mobile_home, castle, hotel_room, cabin, other no Displayed and filtered type. Absent on creation: apartment
property_form string, see below yes Shape precision when the type is not enough. Invalid pair: 400
space entire, annex no The whole place, or an independent annex at the host’s home (the guest is alone there)
usage_type primary_residence, secondary_residence, legal_entity no Required to publish: decides the legal cap on nights
registration_number string, 64 chars no Rental registration number, normalized. "" removes it
tax_category unclassified, 1 to 5, palace no Official star rating, for the tourist tax

property_form values per type: apartment (STUDIO, CLASSIQUE, LOFT), cottage (MAISON, APPARTEMENT, CHALET, VILLA, LONGERE, GRANGE), bed_and_breakfast (MAISON, APPARTEMENT, VILLA, LONGERE, CHATEAU, FERME), castle (CHATEAU, MANOIR, DEMEURE), hotel_room (CHAMBRE, SUITE, APPART_HOTEL, RESIDENCE), cabin (CABANE_SOL, CABANE_PERCHEE, CABANE_BERGER, CABANE_FLOTTANTE). Other types take none.

Field Type and values null Effect
address, city, postal_code string (255, 120, 16 chars) no Changing the address without coordinates triggers geocoding again
country ISO 2-letter code no Country of the PROPERTY. Moving to a country not open on Localoge: 400
latitude, longitude number no Sent together, they skip geocoding
floor integer no Floor, 0 = ground floor
has_elevator boolean no Elevator
Field Type and values null Effect
max_guests integer, 1 to 50 no Maximum guests
bedrooms integer, 0 to 50 no Bedrooms
beds integer, 0 to 100 no Beds
sleeping_areas list of rooms, or null no Sleeping arrangements room by room: [{ "room": "salon", "beds": [{ "type": "canape", "count": 1 }] }]. room: chambre, salon, sejour, mezzanine, bureau, autre. type: double, simple, queen, king, superpose, canape, appoint, gigogne. A chambre room counts as one bedroom, a bed elsewhere counts only as a bed. When provided, Localoge recomputes bedrooms and beds
bathrooms integer, 0 to 50 no Bathrooms
surface_m2 integer, 0 to 10,000 no Surface area
Field Type and values null Effect
currency ISO 3-letter code no Informative: Localoge counts in euros
base_price cents, 0 to 10,000,000 no Price per night, for any night without its own price
min_price, max_price cents no Price bounds, taken into account together only. 0 = no bound
cleaning_fee cents no Cleaning, once per stay
public_host_name text, 2 to 60 characters no Name of the host shown on the public page of THIS property (for example the name of your guesthouse). Absent, empty or null: the host’s first name is shown, as before. No link, no e-mail address, no run of 9 or more digits. A refusal answers 400 INVALID_PAYLOAD and names the field. Changes neither the account name nor the verified identity
host_covers_guest_fee boolean no The host covers the guest service fee: the guest pays no service commission, it is added to the host’s own (in France 3% + 3%). Any deposit guarantee fee stays with the guest. Frozen in each booking when it is created. false or null = removed (default)
deposit_amount cents, 0 to 100,000,000 no Former deposit amount, kept for compatibility: Localoge no longer takes a deposit and never shows this amount. Sent alone, a value > 0 means deposit_may_be_requested: true
deposit_may_be_requested boolean no The host warns that a deposit may be requested. The listing tells the guest, with no amount; the host asks for it and handles it. false resets deposit_amount to 0
extra_guest_fee cents, 0 to 50,000 no Per extra guest and per night beyond extra_guest_after
extra_guest_after integer, 0 to 50 no Guests included in the price. 0 disables the fee
linens_included boolean no Bed linen and towels provided free of charge
linens_available, linens_price boolean, cents no Bed linen as a paid extra, and its price
towels_available, towels_price boolean, cents no Towels as a paid extra, and their price
tourist_tax_rate cents no FALLBACK tourist tax per person per night, if the town is not in the official table
auto_cancel_on_payment_fail boolean no Cancels a Localoge booking whose deposit hold is still refused at arrival

Discounts never add up: the strongest family (date promotion, length of stay, booking time) applies alone.

Field Type and values null Effect
length_discounts array (8 max) of { nights: 2 to 365, pct: 1 to 50 } yes “From N nights, X % off”. Sorted and cleaned. null or [] removes them
early_bird_pct, early_bird_months 1 to 50 %, 1 to 24 months yes Discount for a booking made at least N months ahead
last_minute_pct, last_minute_days 1 to 50 %, 1 to 60 days yes Discount for a booking made at most N days before arrival
Field Type and values null Effect
check_in_time, check_out_time HH:MM no Arrival and departure times (15:00 and 11:00 by default)
min_nights integer, 1 to 365 no Default minimum stay; the calendar and seasons refine it
max_nights integer, 1 to 365 yes Maximum stay, at least min_nights (400 otherwise). null removes the cap
no_arrival_days, no_departure_days array of integers 0 to 6 no Weekdays with no arrival, no departure. [] removes them
cancellation_policy flexible, moderate, firm, strict no Cancellation policy
long_stay_cancellation_policy long_firm, long_strict, null no Stays of 28 nights or more, replaces cancellation_policy for those stays. long_firm: full refund up to 30 days before arrival, then the first 30 nights are due and the following nights are refunded. long_strict: full refund if cancelled within 48 h of booking and at least 28 days before arrival, otherwise the first 30 nights are due and the following nights are refunded. null (default): cancellation_policy applies.
pets_policy, smoking_policy unspecified, allowed, forbidden no Only send forbidden if you KNOW it
adults_only boolean no Rejects a booking that declares children
parties_policy string no Parties and events: unspecified, allowed or forbidden. Shown to the guest before booking
infants_policy string no Infants under 2: same values. Shown to the guest
commercial_photography_policy string no Commercial photo and film shoots: same values. Shown to the guest
children_note string no Note about children (500 characters). null removes it
quiet_hours_from string HH:MM no Start of quiet hours, may be sent alone (“quiet from”). null removes it
quiet_hours_to string HH:MM no End of quiet hours, may be sent alone (“quiet until”). null removes it
check_in_until string HH:MM no Latest check-in time (check_in_time is the start). null removes it
house_rules_extra string no Extra house rules (3000 characters), shown before booking. null removes them
notices array no “Good to know” notices shown before booking: security_cameras (outdoor cameras), stairs, noise, pets_on_site, no_parking, shared_spaces, limited_amenities. Unknown keys are ignored. [] removes them all
pets_max integer no Maximum number of pets (1 to 20), when pets_policy allows them. null = no limit
weekend_days integer array no Nights counted as weekend for weekend_price, day of the NIGHT (0 = Sunday, 5 = Friday to Saturday night). null = [5, 6], [] = none
preparation_days integer no Days closed after each check-out for cleaning (0 to 30). They are not charged and create no booking. 0 = none
turnover_checkin_time text HH:MM, 12:00 to 22:00 no Turnover option “arrival the evening of a check-out”: MINIMUM check-in time on days when another guest leaves in the morning. No night is closed and no time is set for you. null or empty: removed; absent: nothing changes. Exclusive with preparation_days > 0 (setting one resets the other; both together are refused). Out-of-range value: 400 INVALID_PAYLOAD (invalid_turnover_checkin_time)
pet_fee object no Fee PER PET: amount in cents (0 to 50,000, 0 = none), mode stay (once per stay) or night (per night). Added to the stay like an extra, included in commission and refunded under the same rule as cleaning
checkin_method smart_lock, keypad, lockbox, building_staff, in_person, third_party yes How the guest gets in, shown on the listing and in the guide
Field Type and values null Effect
instant_book boolean no true: accepted automatically. false: the host approves each request
lead_days integer, 0 to 30 no Minimum days between booking and arrival
lead_cutoff_hour integer, 0 to 23 yes With lead_days at 0: last hour to book a same-day arrival
booking_window_days integer, 90 to 730 yes How far ahead guests can book, in days. null: platform setting
Field Type and values null Effect
guest_require_identity boolean no Verified identity required
guest_require_phone boolean no Verified phone required
guest_min_stays integer, 0 to 20 no Completed stays required
guest_no_negative_review boolean no Refuses a guest with a negative review
min_guest_rating number, 0 to 9 no Minimum guest rating, out of 10. 0 = no requirement
Field Type and values null Effect
amenities array of keys (200 max) no Replaces the list. Unknown keys ignored and returned in amenities_ignored. See Amenities
Field Type and values null Effect
photos array (50 max) of { url, position, caption, room } no Replaces the photos YOU sent; the host’s own photos stay. 3 minimum to publish. room (40 chars): the room, absent = unchanged. See Photos
videos array (10 max) of { url, thumbnail_url, duration_sec, caption, position } no Optional. mp4 or mov, 120 MB max, downloaded by Localoge
Field Type and values null Effect
options array (40 max) of { label, unit_price, max_quantity, billing } no What the guest can add when booking. Replaces the whole list, [] empties it
options[].label string, 1 to 80 chars no “Baby cot”, “Mid-stay cleaning”
options[].unit_price cents, 0 to 1,000,000 no Unit price; 0 = free
options[].max_quantity integer, 1 to 50 (default 5) no Maximum quantity
options[].billing per_stay, per_night no Per stay, or multiplied by the number of nights
Field Type and values null Effect
seasons array (12 max) of { label, start_month, start_day, end_month, end_day, min_nights } no Minimum stay per period of the year. Replaces all seasons, [] removes them
seasons[].start_month … end_day months 1 to 12, days 1 to 31 no A period may span 1 January. Overlap rejected (400)
seasons[].start_year, seasons[].end_year years 2000 to 2100 yes Dated season: both together, real dates (6 July 2027 is a Tuesday, not a Monday). It does not repeat, lasts 366 days at most and is written over 18 months. Absent or null: season repeated every year, as before. Only one of the two is rejected (400)
seasons[].min_nights integer, 1 to 90 no Minimum stay for an arrival in the period. A day set by hand by the host is never overwritten
Field Type and values null Effect
translations.en, .de, .es, .it { title (160 chars), description (20,000 chars) } no Title and description in these languages; title and description remain the French source. Stored as written by the host: machine translation does not overwrite them. If you later change the French text without resending them, they become out of date and are no longer shown

Sent to the guest before arrival. Every absent field keeps its value; a section you send replaces that section only. Guide photos do not go through the API: the host adds them on Localoge.

Field Type and values null Effect
guide.enabled boolean no false: the guide is neither sent nor readable
guide.wifi_name, guide.wifi_password string, 120 chars yes The wifi
guide.sections.<section> { text (4,000 chars), entries: [{ title (120), text (2,000) }] (20 max) } no Sections: arrival, wifi, home, house_rules, departure, surroundings, help
guide.addresses array (20 max) of { name, category, distance, phone, note } no Places recommended by the host. Replaces the list
guide.send_trigger manual, after_booking, before_checkin, checkin_day, checkin_time no When the guide is sent
guide.send_offset_days integer, 0 to 30 no Days before arrival (1 = the day before)
guide.send_time HH:MM no Sending time
guide.send_last_minute boolean no Send right away if the booking comes after the planned moment
Field Type and values null Effect
payout_model host, owner no Who receives the money of this property. See Who gets paid

Some Localoge settings are deliberately not open to the API: anything that decides where the money goes beyond payout_model (deposit provider, management fees, manager, damage sharing, storefront discount), administration and compliance (lock, supporting documents, validation, publication status), statistics (rating, reviews, views), and iCal calendars from other platforms: your software pushes availability and rates itself.