Commands: platforms

platforms and channels: state, sync, settings, mapping, import and go-live.

Overview

CommandModeWhat it does
channels settingsreadsStanding settings of one listing on one platform
channels settings setpreview, then applyPreview a platform settings change (markup, stay rules, paused)
channels listreadsConnected platforms with status, last sync and last error
channels setupreadsGo-live state of a platform
channels testreadsAsk the platform whether it still works
channels resyncchangesRe-push prices and availability to a platform
channels importchangesImport rooms, prices and photos from a platform
channels recoverchangesRecover platform bookings after an outage
channels connecthost approvesGet the page where the host connects a platform (creates nothing)
channels pausehost approvesAsk the host to pause a platform
channels activatehost approvesAsk the host to activate a platform
channels go-livehost approvesAsk the host to take a platform live
channels maphost approvesPropose a room and rate mapping (the host confirms it)
channels disconnecthost approvesDisconnect a platform: human only, prints the page where the host does it
channels comparereadsOne connection side by side with Default and Website
channels publishhost approvesAsk the host to publish a listing on a platform
channels unpublishhost approvesAsk the host to unpublish a listing
channels promotionsreadsPromotions of a listing
channels promotions setchangesSwitch promotions on or off
channels extranet-deals setchangesDeals you run in a platform's own extranet (Genius, Mobile rate…): advice only, nothing is sent
channels configreadsA platform's own settings for all its listings (minimum stay counts, Szállás.hu sync mode), real time
channels config setchangesChange a platform's own settings (Rates and Availability asks the host)
channels realtime-checkreadsAsk the platform again whether it sells from Hostemi's availability (Szállás.hu real-time allocation)
channels hold-backreadsRooms held back from a platform, per listing with several rooms
channels hold-back previewreadsWhat holding rooms back would do, before saving
channels hold-back setchangesHold rooms of a listing back from a platform (0 = none; the host approves holding back)
channels platform-widereadsWhich amount a booking carries, and how no-shows are reported
channels no-show-policychangesWaive the no-show fee when a no-show is reported (Booking.com; the host approves)
channels getreadsOne connection with its mappings and recent sync events
channels heldreadsBookings a platform sent that wait for a listing
channels held linkchangesPut a waiting booking on one of your listings
channels held retrychangesRead the waiting bookings from the platform again
channels availablereadsPlatforms that can be connected, and how
channels how-to-connectreadsThe steps to connect one platform (creates nothing)
channels import-startchangesStart bringing your listings in from a platform
channels import-statusreadsThe listings an import found
channels import-applychangesAdd the listings you pick from an import (connected, not live)
channels statusreadsConnected platforms: state, last sync, last error
platforms= channels statusConnected platforms: state, last sync, last error
platforms list= channels statusConnected platforms: state, last sync, last error
platforms connect= channels connectGet the page where the host connects a platform (creates nothing)
platforms sync= channels resyncRe-push prices and availability to a platform
platforms pause= channels pauseAsk the host to pause a platform
platforms activate= channels activateAsk the host to activate a platform
platforms publish= channels publishAsk the host to publish a listing on a platform
platforms unpublish= channels unpublishAsk the host to unpublish a listing
platforms settings= channels settingsStanding settings of one listing on one platform
platforms compare= channels compareOne connection side by side with Default and Website

Generated from hostemi help --json of hostemi 0.4.0: the same tree the CLI prints its help, its completions and its option checks from. Modes: what each one does.

platforms

hostemi platforms

Connected platforms: state, last sync, last error. A short name for hostemi channels status: it runs that command, with the arguments shown here and that command's options.

hostemi platforms [--property <id>]

hostemi platforms list

Connected platforms: state, last sync, last error. A short name for hostemi channels status: it runs that command, with the arguments shown here and that command's options.

hostemi platforms list [--property <id>]

hostemi platforms connect

Get the page where the host connects a platform (creates nothing). A short name for hostemi channels connect: it runs that command, with the arguments shown here and that command's options.

hostemi platforms connect

hostemi platforms sync

Re-push prices and availability to a platform. A short name for hostemi channels resync: it runs that command, with the arguments shown here and that command's options.

hostemi platforms sync <id>

hostemi platforms pause

Ask the host to pause a platform. A short name for hostemi channels pause: it runs that command, with the arguments shown here and that command's options.

hostemi platforms pause <id>

hostemi platforms activate

Ask the host to activate a platform. A short name for hostemi channels activate: it runs that command, with the arguments shown here and that command's options.

hostemi platforms activate <id>

hostemi platforms publish

Ask the host to publish a listing on a platform. A short name for hostemi channels publish: it runs that command, with the arguments shown here and that command's options.

hostemi platforms publish <id> <unitId>

hostemi platforms unpublish

Ask the host to unpublish a listing. A short name for hostemi channels unpublish: it runs that command, with the arguments shown here and that command's options.

hostemi platforms unpublish <id> <unitId>

hostemi platforms settings

Standing settings of one listing on one platform. A short name for hostemi channels settings: it runs that command, with the arguments shown here and that command's options.

hostemi platforms settings <id> <connectionId>

hostemi platforms compare

One connection side by side with Default and Website. A short name for hostemi channels compare: it runs that command, with the arguments shown here and that command's options.

hostemi platforms compare <id> --unit <string>

channels

hostemi channels settings

Standing settings of one listing on one platform. Reads only. Never asks.

hostemi channels settings <id> <connectionId>
ArgumentRequiredDescription
<id>yesListing id
<connectionId>yesConnected platform id

Mode: reads · API: GET /public/v1/units/:id/channels/:connectionId/settings. Every command also takes the global options.

hostemi channels settings set

Preview a platform settings change (markup, stay rules, paused). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi channels settings set <id> <connectionId>
ArgumentRequiredDescription
<id>yesListing id
<connectionId>yesConnected platform id
OptionTypeDescription
--adjust-pctnumberMarkup in percent (15 = +15 %)
--adjust-bpsintMarkup in basis points (1500 = +15 %)
--adjustamountMarkup as an amount, major units
--min-nightsint|noneMinimum nights (none = listing default)
--max-nightsint|noneMaximum nights
--advance-notice-hoursint|noneAdvance notice, hours
--max-advance-daysint|noneHow far ahead guests may book, days
--preparation-nightsint|noneNights blocked between stays
--pausedswitchon | off
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: PUT /public/v1/units/:id/channels/:connectionId/settings. Every command also takes the global options.

hostemi channels list

Connected platforms with status, last sync and last error. Reads only. Never asks.

hostemi channels list
OptionTypeDescription
--propertystringProperty id

Mode: reads · API: GET /public/v1/connections. Every command also takes the global options.

hostemi channels setup

Go-live state of a platform. Reads only. Never asks.

hostemi channels setup <id>
ArgumentRequiredDescription
<id>yesConnected platform id

Mode: reads · API: GET /public/v1/connections/:id/lane-setup. Every command also takes the global options.

hostemi channels test

Ask the platform whether it still works. Reads only. Never asks.

hostemi channels test <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: reads · API: POST /public/v1/connections/:id/test. Every command also takes the global options.

hostemi channels resync

Re-push prices and availability to a platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels resync <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--scopestringconnection (default) | property (every platform of the property)
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/connections/:id/resync. Every command also takes the global options.

hostemi channels import

Import rooms, prices and photos from a platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels import <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/connections/:id/import. Every command also takes the global options.

hostemi channels recover

Recover platform bookings after an outage. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels recover --since <string>
OptionTypeDescription
--sincestringISO 8601, at most 90 days ago Required.
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/connections/recover. Every command also takes the global options.

hostemi channels connect

Get the page where the host connects a platform (creates nothing). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels connect
OptionTypeDescription
--propertystringProperty id
--channelstringPlatform, e.g. AIRBNB, BOOKING_COM, SZALLAS_HU
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: POST /public/v1/connections/connect-start. Every command also takes the global options.

hostemi channels pause

Ask the host to pause a platform. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels pause <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: POST /public/v1/connections/:id/pause. Every command also takes the global options.

hostemi channels activate

Ask the host to activate a platform. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels activate <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: POST /public/v1/connections/:id/activate. Every command also takes the global options.

hostemi channels go-live

Ask the host to take a platform live. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels go-live <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--release-unresolvedswitchRelease bookings that could not be matched
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: POST /public/v1/connections/:id/go-live. Every command also takes the global options.

hostemi channels map

Propose a room and rate mapping (the host confirms it). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels map <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--prices-winstringHOSTEMI | CHANNEL
--rate-plan-limitintPrice plans per room
--go-liveswitchGo live after mapping
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: PUT /public/v1/connections/:id/lane-setup/plan. Every command also takes the global options.

hostemi channels disconnect

Disconnect a platform: human only, prints the page where the host does it. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels disconnect <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: DELETE /public/v1/connections/:id. Every command also takes the global options.

hostemi channels compare

One connection side by side with Default and Website. Reads only. Never asks.

hostemi channels compare <id> --unit <string>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--unitstringListing id Required.

Mode: reads · API: GET /public/v1/connections/:id/compare. Every command also takes the global options.

hostemi channels publish

Ask the host to publish a listing on a platform. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels publish <id> <unitId>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: POST /public/v1/connections/:id/units/:unitId/publish. Every command also takes the global options.

hostemi channels unpublish

Ask the host to unpublish a listing. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

hostemi channels unpublish <id> <unitId>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
OptionTypeDescription
--reasonstringA value from `listings unpublish-reasons`
--detailsstringFree text
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: host approves · API: POST /public/v1/connections/:id/units/:unitId/unpublish. Every command also takes the global options.

hostemi channels promotions

Promotions of a listing. Reads only. Never asks.

hostemi channels promotions <id> <unitId>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
OptionTypeDescription
--refreshstring1 = read the platform first

Mode: reads · API: GET /public/v1/connections/:id/units/:unitId/promotions. Every command also takes the global options.

hostemi channels promotions set

Switch promotions on or off. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels promotions set <id> <unitId>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
OptionTypeDescription
--enablelistPromotions to switch on: mobile, highly-rated, new-listing (or the platform type)
--disablelistPromotions to switch off
--not-onlistWith one --enable: dates it does not apply to, YYYY-MM-DD (none = clear)
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/connections/:id/units/:unitId/promotions. Every command also takes the global options.

Examples
hostemi channels promotions set conn_1 unit_1 --enable mobile

hostemi channels extranet-deals set

Deals you run in a platform's own extranet (Genius, Mobile rate…): advice only, nothing is sent. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: pricing.discounts
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi channels extranet-deals set <id> <unitId> <deals…>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
<deals>yesmobileRate, genius, deals, countryRates, member, lastMinute, earlyBird, lengthOfStay, nonRefundable (none = clear)
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/connections/:id/units/:unitId/extranet-deals. Every command also takes the global options.

hostemi channels config

A platform's own settings for all its listings (minimum stay counts, Szállás.hu sync mode), real time. Reads only. Never asks.

hostemi channels config <id>
ArgumentRequiredDescription
<id>yesConnected platform id

Mode: reads · API: GET /public/v1/connections/:id/settings. Every command also takes the global options.

hostemi channels config set

Change a platform's own settings (Rates and Availability asks the host). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels config set <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--min-stay-typestringArrival (the arrival night) | Through (every night of the stay) One of: Arrival, Through.
--sync-logicstringSzállás.hu: what Hostemi sends there One of: Full connection, Full connection (no Stop Sell), Rates and Availability.
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/connections/:id/settings. Every command also takes the global options.

Examples
hostemi channels config set conn_1 --min-stay-type Through

hostemi channels realtime-check

Ask the platform again whether it sells from Hostemi's availability (Szállás.hu real-time allocation). Reads only. Never asks.

hostemi channels realtime-check <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: reads · API: POST /public/v1/connections/:id/allocation-mode/check. Every command also takes the global options.

hostemi channels hold-back

Rooms held back from a platform, per listing with several rooms. Reads only. Never asks.

Preview: platforms.holdBack
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi channels hold-back <id>
ArgumentRequiredDescription
<id>yesConnected platform id

Mode: reads · API: GET /public/v1/connections/:id/hold-backs. Every command also takes the global options.

hostemi channels hold-back preview

What holding rooms back would do, before saving. Reads only. Never asks.

Preview: platforms.holdBack
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi channels hold-back preview <id> <unitId> --rooms <int>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
OptionTypeDescription
--roomsintRooms to hold back Required.

Mode: reads · API: GET /public/v1/connections/:id/units/:unitId/hold-back/preview. Every command also takes the global options.

hostemi channels hold-back set

Hold rooms of a listing back from a platform (0 = none; the host approves holding back). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: platforms.holdBack
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi channels hold-back set <id> <unitId> --rooms <int>
ArgumentRequiredDescription
<id>yesConnected platform id
<unitId>yesListing id
OptionTypeDescription
--roomsintRooms to hold back (0 = none) Required.
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/connections/:id/units/:unitId/hold-back. Every command also takes the global options.

Examples
hostemi channels hold-back set conn_1 unit_1 --rooms 1

hostemi channels platform-wide

Which amount a booking carries, and how no-shows are reported. Reads only. Never asks.

Preview: platforms.airbnbSettings
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi channels platform-wide <id>
ArgumentRequiredDescription
<id>yesConnected platform id

Mode: reads · API: GET /public/v1/connections/:id/platform-wide. Every command also takes the global options.

hostemi channels no-show-policy

Waive the no-show fee when a no-show is reported (Booking.com; the host approves). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: platforms.airbnbSettings
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi channels no-show-policy <id> <waive>
ArgumentRequiredDescription
<id>yesConnected platform id
<waive>yeson | off | none
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/connections/:id/no-show-policy. Every command also takes the global options.

Examples
hostemi channels no-show-policy conn_1 on

hostemi channels get

One connection with its mappings and recent sync events. Reads only. Never asks.

hostemi channels get <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--mappingsstringCONTENT (default), ALL or one kind
--limitintEvents to show (default 100)

Mode: reads · API: GET /public/v1/connections/:id. Every command also takes the global options.

hostemi channels held

Bookings a platform sent that wait for a listing. Reads only. Never asks.

hostemi channels held <id>
ArgumentRequiredDescription
<id>yesConnected platform id

Mode: reads · API: GET /public/v1/connections/:id/needs-mapping. Every command also takes the global options.

Examples
hostemi platforms held <platformId>

Put a waiting booking on one of your listings. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels held link <id> <bookingId> --listing <string>
ArgumentRequiredDescription
<id>yesConnected platform id
<bookingId>yesFrom: platforms held <platformId>
OptionTypeDescription
--listingstringThe listing the booking belongs to Required.
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/connections/:id/needs-mapping/:bookingId/link. Every command also takes the global options.

hostemi channels held retry

Read the waiting bookings from the platform again. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels held retry <id>
ArgumentRequiredDescription
<id>yesConnected platform id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/connections/:id/needs-mapping/retry. Every command also takes the global options.

hostemi channels available

Platforms that can be connected, and how. Reads only. Never asks.

hostemi channels available

Mode: reads · API: GET /public/v1/platforms/catalogue. Every command also takes the global options.

hostemi channels how-to-connect

The steps to connect one platform (creates nothing). Reads only. Never asks.

hostemi channels how-to-connect <platform>
ArgumentRequiredDescription
<platform>yesAirbnb, BOOKING_COM, SZALLAS_HU, Expedia, Vrbo …
OptionTypeDescription
--propertystringProperty id: the link opens on it
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: reads · API: POST /public/v1/onboarding/import-platform/how-to-connect. Every command also takes the global options.

Examples
hostemi platforms how-to-connect airbnb

hostemi channels import-start

Start bringing your listings in from a platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels import-start <platform>
ArgumentRequiredDescription
<platform>yesAIRBNB, BOOKING_COM, SZALLAS_HU, EXPEDIA, AGODA, TRIP_COM or HOSTELWORLD
OptionTypeDescription
--property-idstringThe property ID from the platform's extranet (a number; Trip.com: Hotel Code)
--currencystringTRIP_COM and HOSTELWORLD only: the currency you use there, like EUR
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/onboarding/import-platform/start. Every command also takes the global options.

Examples
hostemi platforms import-start BOOKING_COM --property-id 1234567

hostemi channels import-status

The listings an import found. Reads only. Never asks.

hostemi channels import-status <sessionId>
ArgumentRequiredDescription
<sessionId>yesFrom: platforms import-start

Mode: reads · API: GET /public/v1/onboarding/import-platform/:sessionId. Every command also takes the global options.

hostemi channels import-apply

Add the listings you pick from an import (connected, not live). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi channels import-apply <sessionId> [listings…]
ArgumentRequiredDescription
<sessionId>yesFrom: platforms import-start
<listings>noThe ids to add, from: platforms import-status
OptionTypeDescription
--listingsjsonInstead of ids: [{"externalId":"…","group":"…","attachToUnitId":"…"}]
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/onboarding/import-platform/:sessionId/apply. Every command also takes the global options.

hostemi channels status

Connected platforms: state, last sync, last error. Reads only. Never asks.

hostemi channels status [--property <id>]
OptionTypeDescription
--propertystringProperty id

Mode: reads · API: GET /public/v1/connections. Every command also takes the global options.

Something missing from this page? Write to [email protected], or use the form on the Help page.