Commands: prices and stay rules

prices, pricing, rules, rates, seasons, discounts, fees, taxes and price plans.

Overview

CommandModeWhat it does
pricing getreadsNightly prices and stay rules: all platforms, your website and each platform
pricing setpreview, then applyChange prices, stay rules or availability for a night range (preview, then apply)
pricing resetpreview, then applyReset nights to the inherited value (season, weekend price, base price)
pricing closepreview, then applyClose nights (or only arrivals with --arrivals-only)
pricing openpreview, then applyOpen closed nights again
pricing explainreadsWhy one night costs what it costs, on every scope
pricing contextreadsOne listing side by side: all platforms, your website and each platform
pricing signalsreadsPricing signals of one listing: nights sold and free per week, sold in the last 7 and 28 days, last year at the same point, booking curve, gaps, price limits
pricing pacereadsEvery listing in one line: nights for sale, sold, free, and sold in the last 7 days
pricing commandpreview, then applyPreview any pricing command kind with a JSON input (--input or --data)
rulesreadsStanding rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings
rates getreadsNightly prices and stay limits per price plan
seasons listreadsSeasons, highest priority first
seasons createpreview, then applyPreview a new season (apply it after the preview)
seasons updatepreview, then applyPreview a season change
seasons deletepreview, then applyPreview deleting a season
seasons reorderpreview, then applyPreview a new season order, highest priority first
discounts getreadsLength-of-stay, early bird and last minute discounts
discounts setpreview, then applyPreview replacing the discounts of a listing
discounts non-refundablechangesOffer, change or stop the non-refundable price of a listing (setting a percent waits for the host)
fees getreadsListing fees (default and per platform)
fees setpreview, then applyPreview replacing the fees of a listing (the full list, --input fees.json)
taxes getreadsTax rules of a property
taxes setpreview, then applyPreview replacing the tax rules (always needs the host’s approval)
rate-plans listreadsPrice plans and rate options of a property
rate-plans createchangesAdd a rate option to a listing (e.g. non-refundable, following the standard plan)
rate-plans deletechangesRemove a rate option (never the standard plan)
pricing quotereadsWhat one stay costs on your website: nights, discounts, fees, taxes, total
pricing roundingchangesHow computed prices are rounded: whole, ends_in_9 or none
pricing currenciesreadsThe currency each platform sells in, its rate, and today's ECB rate
pricing ratesreadsYour account exchange rates: one per currency, where each is used, and today's ECB rate
pricing rate setchangesSet one exchange rate for every listing, platform and website in that currency (asks the host first)
pricing currency setchangesA platform sells in another currency, from your prices at a fixed rate (a preview; apply it after). Trip.com, Hostelworld, Despegar: also the currency the platform takes
rates setchangesSet the nightly price of a listing for a range, on every platform
prices get= pricing getNightly prices and stay rules, per platform
prices set= pricing setChange prices, stay rules or availability for a night range (preview, then apply)
prices adjust= pricing setRaise or lower prices for a range: +10%, -5% or an amount (preview, then apply)
prices explain= pricing explainWhy one night costs what it costs, on every scope
prices reset= pricing resetReset nights to the inherited value (season, weekend price, base price)
prices close= pricing closeClose nights (or only arrivals with --arrivals-only)
prices open= pricing openOpen closed nights again
prices compare= pricing contextOne listing side by side: all platforms, your website and each platform
rules get= rulesStanding rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings
rules set= pricing setStay rules for a range: --min-nights, --max-nights, --arrivals, --departures

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.

prices

hostemi prices get

Nightly prices and stay rules, per platform. A short name for hostemi pricing get: it runs that command, with the arguments shown here and that command's options.

hostemi prices get [property] [--from <date>] [--to <date>]

hostemi prices set

Change prices, stay rules or availability for a night range (preview, then apply). A short name for hostemi pricing set: it runs that command, with the arguments shown here and that command's options.

hostemi prices set <unit> <range>

hostemi prices adjust

Raise or lower prices for a range: +10%, -5% or an amount (preview, then apply). A short name for hostemi pricing set: it runs that command, with the arguments shown here and that command's options.

hostemi prices adjust <listing id> <range> <+10%|-5%|+15>
Example
hostemi prices adjust cmwhux6y60026somfhixjmcm8 2027-07-01:2027-07-31 +10% --weekdays fri,sat --dry-run
Output (recorded in a test workspace, exit 0)
10 nights on All platforms: €132 to €168 per night
  price: 12000–15300 → 13200–16800
Command cmwmrmvri001tsomrihkwmnv7, revision 1
Dry run: nothing changed and nobody was asked.
Applying it would need the host’s approval. To ask for it: hostemi apply cmwmrmvri001tsomrihkwmnv7@1

hostemi prices explain

Why one night costs what it costs, on every scope. A short name for hostemi pricing explain: it runs that command, with the arguments shown here and that command's options.

hostemi prices explain <id> <date>

hostemi prices reset

Reset nights to the inherited value (season, weekend price, base price). A short name for hostemi pricing reset: it runs that command, with the arguments shown here and that command's options.

hostemi prices reset <unit> <range>

hostemi prices close

Close nights (or only arrivals with --arrivals-only). A short name for hostemi pricing close: it runs that command, with the arguments shown here and that command's options.

hostemi prices close <unit> <range>

hostemi prices open

Open closed nights again. A short name for hostemi pricing open: it runs that command, with the arguments shown here and that command's options.

hostemi prices open <unit> <range>

hostemi prices compare

One listing side by side: all platforms, your website and each platform. A short name for hostemi pricing context: it runs that command, with the arguments shown here and that command's options.

hostemi prices compare <id>

pricing

hostemi pricing get

Nightly prices and stay rules: all platforms, your website and each platform. Reads only. Never asks.

hostemi pricing get <id> --from <date> --to <date>
ArgumentRequiredDescription
<id>yesProperty id
OptionTypeDescription
--fromdateFirst night, YYYY-MM-DD Required.
--todateLast night (inclusive) Required.
--scopesstringComma separated: default (all platforms), direct (your website), c:<id> (one connected platform)
--unitsstringComma separated listing ids

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

Examples
hostemi pricing get prop_1 --from 2026-11-01 --to 2026-11-30

hostemi pricing set

Change prices, stay rules or availability for a night range (preview, then apply). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi pricing set <unit> <range>
ArgumentRequiredDescription
<unit>yesListing id (comma separated for several)
<range>yesfrom:to, inclusive (comma separated for several)
OptionTypeDescription
--priceamountNightly price in whole units of the listing’s currency (120 = €120, 119.90 = €119.90)
--price-minorintNightly price in the currency’s smallest unit (12050 = €120.50, 15000 = ¥15,000)
--adjust-pctnumberRaise or lower by percent (-10, 15)
--adjustamountRaise or lower by an amount, major units
--flooramountWith an adjustment: never below this (major units)
--min-nightsint|noneMinimum nights (none = inherit)
--max-nightsint|noneMaximum nights, 0 = no maximum (none = inherit)
--arrivalsswitchon | off: may guests arrive on these nights
--departuresswitchon | off: may guests leave on these nights
--closedswitchClose the nights (no sales anywhere)
--openswitchOpen closed nights again
--close-arrivalsswitchClose arrivals only
--block-roomsintRooms closed on each night, on every platform (replaces earlier closes; 0 reopens)
--scopestringdefault = all platforms (the default), direct = your website, c:<id> = one connected platform
--weekdayslistOnly these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat)
--rate-planslistPrice plan ids instead of each listing’s standard plan
--notestringInternal note kept in the history
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/pricing/bulk. Every command also takes the global options.

Examples
hostemi pricing set unit_1 2026-11-01:2027-02-28 --closed --yes

hostemi pricing reset

Reset nights to the inherited value (season, weekend price, base price). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi pricing reset <unit> <range>
ArgumentRequiredDescription
<unit>yesListing id
<range>yesfrom:to, inclusive
OptionTypeDescription
--fieldslistprice,minNights,maxNights,arrivalsAllowed,departuresAllowed,availability (default: all)
--scopestringdefault = all platforms (the default), direct = your website, c:<id> = one connected platform
--weekdayslistOnly these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat)
--rate-planslistPrice plan ids instead of each listing’s standard plan
--notestringInternal note kept in the history
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/pricing/bulk. Every command also takes the global options.

hostemi pricing close

Close nights (or only arrivals with --arrivals-only). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi pricing close <unit> <range>
ArgumentRequiredDescription
<unit>yesListing id
<range>yesfrom:to, inclusive
OptionTypeDescription
--arrivals-onlyswitchClose arrivals, keep stays through
--scopestringdefault = all platforms (the default), direct = your website, c:<id> = one connected platform
--weekdayslistOnly these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat)
--rate-planslistPrice plan ids instead of each listing’s standard plan
--notestringInternal note kept in the history
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/pricing/bulk. Every command also takes the global options.

hostemi pricing open

Open closed nights again. Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi pricing open <unit> <range>
ArgumentRequiredDescription
<unit>yesListing id
<range>yesfrom:to, inclusive
OptionTypeDescription
--scopestringdefault = all platforms (the default), direct = your website, c:<id> = one connected platform
--weekdayslistOnly these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat)
--rate-planslistPrice plan ids instead of each listing’s standard plan
--notestringInternal note kept in the history
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/pricing/bulk. Every command also takes the global options.

hostemi pricing explain

Why one night costs what it costs, on every scope. Reads only. Never asks.

hostemi pricing explain <id> <date>
ArgumentRequiredDescription
<id>yesListing id
<date>yesNight, YYYY-MM-DD
OptionTypeDescription
--scopestringdefault = all platforms, direct = your website, c:<id> = one connected platform
--rate-planstringPrice plan id
--guestsintGuest count

Mode: reads · API: GET /public/v1/units/:id/nights/:date/explain. Every command also takes the global options.

hostemi pricing context

One listing side by side: all platforms, your website and each platform. Reads only. Never asks.

hostemi pricing context <id>
ArgumentRequiredDescription
<id>yesListing id
OptionTypeDescription
--connectionstringOnly this connected platform

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

hostemi pricing signals

Pricing signals of one listing: nights sold and free per week, sold in the last 7 and 28 days, last year at the same point, booking curve, gaps, price limits. Reads only. Never asks.

hostemi pricing signals <id>
ArgumentRequiredDescription
<id>yesListing id
OptionTypeDescription
--fromdateFirst night, YYYY-MM-DD (default: today)
--todateLast night, inclusive (default: 89 nights later; 184 at most)
--detailstringweeks (default), or nights for 31 nights or fewer One of: weeks, nights.

Mode: reads · API: GET /public/v1/units/:id/pricing-signals. Every command also takes the global options.

Examples
hostemi pricing signals unit_1 --from 2026-12-01 --to 2026-12-31 --detail nights

hostemi pricing pace

Every listing in one line: nights for sale, sold, free, and sold in the last 7 days. Reads only. Never asks.

hostemi pricing pace
OptionTypeDescription
--fromdateFirst night, YYYY-MM-DD (default: today)
--todateLast night, inclusive (default: 89 nights later; 184 at most)

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

Example
hostemi pricing pace
Output (recorded in a test workspace, exit 0)
today: 2026-11-19
from: 2026-11-19
to: 2027-02-16
nights: 90
listings:
  unitId                     unitName            propertyId                 propertyName        currency  forSale
  cmwhux6y60026somfhixjmcm8  Lake house          cmwhux6wi0015somfyb50u4ur  Lake house          EUR       90

hostemi pricing command

Preview any pricing command kind with a JSON input (--input or --data). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi pricing command <kind>
ArgumentRequiredDescription
<kind>yesPRICING_BULK | CHANNEL_SETTINGS | DISCOUNTS_SET | FEES_SET | SEASON_UPSERT | SEASON_DELETE | SEASON_REORDER | TAXES_SET
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/pricing/commands. Every command also takes the global options.

hostemi pricing quote

What one stay costs on your website: nights, discounts, fees, taxes, total. Reads only. Never asks.

hostemi pricing quote <id> <arrival> <departure>
ArgumentRequiredDescription
<id>yesListing id
<arrival>yesArrival, YYYY-MM-DD
<departure>yesDeparture day, YYYY-MM-DD (the guest leaves that morning)
OptionTypeDescription
--adultsintAdults (default 2)
--childrenintChildren
--rate-planstringPrice plan id

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

Examples
hostemi prices quote <listingId> 2026-07-10 2026-07-17 --adults 4

hostemi pricing rounding

How computed prices are rounded: whole, ends_in_9 or none. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi pricing rounding <id> <mode>
ArgumentRequiredDescription
<id>yesProperty id
<mode>yeswhole | ends_in_9 | none
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

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

Examples
hostemi prices rounding <propertyId> ends_in_9

hostemi pricing currencies

The currency each platform sells in, its rate, and today's ECB rate. Reads only. Never asks.

Preview: pricing.currencies
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi pricing currencies <id>
ArgumentRequiredDescription
<id>yesProperty id

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

Examples
hostemi prices currencies <propertyId>

hostemi pricing rates

Your account exchange rates: one per currency, where each is used, and today's ECB rate. Reads only. Never asks.

Preview: pricing.currencies
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi pricing rates

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

Examples
hostemi prices rates

hostemi pricing rate set

Set one exchange rate for every listing, platform and website in that currency (asks the host first). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: pricing.currencies
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi pricing rate set <currency>
ArgumentRequiredDescription
<currency>yesISO code, e.g. EUR
OptionTypeDescription
--ratestring1 unit of that currency in your account currency, e.g. 392.15
--ecbswitchUse today's ECB reference rate instead
--rate-datestringYYYY-MM-DD of the ECB rate it came from (optional)
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/exchange-rates/:currency. Every command also takes the global options.

Examples
hostemi prices rate set EUR --rate 392.15

hostemi pricing currency set

A platform sells in another currency, from your prices at a fixed rate (a preview; apply it after). Trip.com, Hostelworld, Despegar: also the currency the platform takes. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: pricing.currencies
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi pricing currency set <id>
ArgumentRequiredDescription
<id>yesPlatform connection id (channels list)
OptionTypeDescription
--currencystringISO code, e.g. EUR; "none" = your listing currency again
--ratestring1 unit of that currency in your listing currency, e.g. 395 (default: your account rate; given, it becomes it)
--rate-datestringYYYY-MM-DD of the published rate (optional)
--roundingstringRounding in that currency (default: your listing's) One of: whole, ends_in_9, none.
--clear-own-pricesswitchClear the platform's own prices when its currency changes
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

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

Examples
hostemi prices currency set <connectionId> --currency EUR --rate 395 --rounding whole

rates

hostemi rates get

Nightly prices and stay limits per price plan. Reads only. Never asks.

hostemi rates get --from <date> --to <date>
OptionTypeDescription
--fromdateFirst night Required.
--todateLast night (inclusive) Required.
--propertystringProperty id
--unitstringListing id
--rate-planstringPrice plan id

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

hostemi rates set

Set the nightly price of a listing for a range, on every platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi rates set <listing> <range> <price> [--min-nights <n>]
ArgumentRequiredDescription
<listing>yesListing name or id
<range>yesfrom:to, both nights included (YYYY-MM-DD, today, tomorrow); one date = one night
<price>yesNightly price in whole units of the listing’s currency (120 = €120)
OptionTypeDescription
--min-nightsintMinimum nights for the same range

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

rules

hostemi rules

Standing rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings. Reads only. Never asks.

hostemi rules <id>
ArgumentRequiredDescription
<id>yesListing id

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

hostemi rules get

Standing rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings. A short name for hostemi rules: it runs that command, with the arguments shown here and that command's options.

hostemi rules get <listing id>

hostemi rules set

Stay rules for a range: --min-nights, --max-nights, --arrivals, --departures. A short name for hostemi pricing set: it runs that command, with the arguments shown here and that command's options.

hostemi rules set <listing id> <range> [--min-nights <n>] [--arrivals on|off] …

rate-plans

hostemi rate-plans list

Price plans and rate options of a property. Reads only. Never asks.

hostemi rate-plans list <id>
ArgumentRequiredDescription
<id>yesProperty id

Mode: reads · API: GET /public/v1/properties/:id/rate-plans. Every command also takes the global options.

hostemi rate-plans create

Add a rate option to a listing (e.g. non-refundable, following the standard plan). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi rate-plans create <id> --unit <string> --title <string>
ArgumentRequiredDescription
<id>yesProperty id
OptionTypeDescription
--unitstringListing id Required.
--titlestringName, unique in the property Required.
--parentstringFollow this price plan of the same listing
--adjust-pctnumberWith --parent: percent change (-10 = 10 % cheaper)
--adjustamountWith --parent: fixed change per night, major units
--base-priceamountNightly price without a parent, major units
--non-refundableswitchA non-refundable option
--mealstringnone | breakfast | half_board | full_board | all_inclusive
--currencystringHUF, EUR, … (default: the property currency)
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/properties/:id/rate-plans. Every command also takes the global options.

Examples
hostemi rate-plans create prop_1 --unit unit_1 --title "Non-refundable" --parent rp_std --adjust-pct=-10 --non-refundable

hostemi rate-plans delete

Remove a rate option (never the standard plan). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

hostemi rate-plans delete <id> <ratePlanId>
ArgumentRequiredDescription
<id>yesProperty id
<ratePlanId>yesPrice plan id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: DELETE /public/v1/properties/:id/rate-plans/:ratePlanId. Every command also takes the global options.

seasons

hostemi seasons list

Seasons, highest priority first. Reads only. Never asks.

hostemi seasons list <id>
ArgumentRequiredDescription
<id>yesProperty id

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

hostemi seasons create

Preview a new season (apply it after the preview). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi seasons create <id>
ArgumentRequiredDescription
<id>yesProperty id
OptionTypeDescription
--namestringSeason name
--rangeslistfrom:to night ranges, inclusive, comma separated
--yearlyswitchRepeat every year
--weekdayslistOnly these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat)
--unitslistListing ids (default: every listing)
--scopestringdefault = all platforms, direct = your website, c:<id> = one connected platform
--priorityintHigher wins
--colorstringCalendar colour
--priceamountNightly price, major units
--adjust-pctnumberAdjust by percent
--min-nightsint|noneMinimum nights
--max-nightsint|noneMaximum nights
--arrivalsswitchon | off
--departuresswitchon | off
--closedswitchClose the nights of this season
--availabilitystringopen | closeArrivals | closeNights
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/properties/:id/seasons. Every command also takes the global options.

Examples
hostemi seasons create prop_1 --name Winter --ranges 2026-12-20:2027-01-06 --price 52000 --min-nights 3

hostemi seasons update

Preview a season change. Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi seasons update <id> <seasonId>
ArgumentRequiredDescription
<id>yesProperty id
<seasonId>yesSeason id
OptionTypeDescription
--namestringSeason name
--rangeslistfrom:to night ranges, inclusive, comma separated
--yearlyswitchRepeat every year
--weekdayslistOnly these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat)
--unitslistListing ids (default: every listing)
--scopestringdefault = all platforms, direct = your website, c:<id> = one connected platform
--priorityintHigher wins
--colorstringCalendar colour
--priceamountNightly price, major units
--adjust-pctnumberAdjust by percent
--min-nightsint|noneMinimum nights
--max-nightsint|noneMaximum nights
--arrivalsswitchon | off
--departuresswitchon | off
--closedswitchClose the nights of this season
--availabilitystringopen | closeArrivals | closeNights
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: PUT /public/v1/properties/:id/seasons/:seasonId. Every command also takes the global options.

hostemi seasons delete

Preview deleting a season. Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi seasons delete <id> <seasonId>
ArgumentRequiredDescription
<id>yesProperty id
<seasonId>yesSeason id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: DELETE /public/v1/properties/:id/seasons/:seasonId. Every command also takes the global options.

hostemi seasons reorder

Preview a new season order, highest priority first. Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi seasons reorder <id> <seasonIds…>
ArgumentRequiredDescription
<id>yesProperty id
<seasonIds>yesSeason ids, highest first
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: POST /public/v1/properties/:id/seasons/reorder. Every command also takes the global options.

discounts

hostemi discounts get

Length-of-stay, early bird and last minute discounts. Reads only. Never asks.

hostemi discounts get <id>
ArgumentRequiredDescription
<id>yesListing id

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

hostemi discounts set

Preview replacing the discounts of a listing. Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi discounts set <id>
ArgumentRequiredDescription
<id>yesListing id
OptionTypeDescription
--losstringLength of stay: nights:pct pairs, e.g. 7:10,28:20 (off = none)
--early-birdstringdays:pct, e.g. 60:10 (off = none)
--last-minutestringdays:pct, e.g. 3:5 (off = none)
--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/discounts. Every command also takes the global options.

hostemi discounts non-refundable

Offer, change or stop the non-refundable price of a listing (setting a percent waits for the host). 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 discounts non-refundable <id> <percent>
ArgumentRequiredDescription
<id>yesListing id
<percent>yesHow much less, 1-50 (10 or 10%), or off
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/units/:id/non-refundable. Every command also takes the global options.

Examples
hostemi discounts non-refundable unit_1 10%

fees

hostemi fees get

Listing fees (default and per platform). Reads only. Never asks.

hostemi fees get <id>
ArgumentRequiredDescription
<id>yesListing id

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

hostemi fees set

Preview replacing the fees of a listing (the full list, --input fees.json). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi fees set <id>
ArgumentRequiredDescription
<id>yesListing id
OptionTypeDescription
--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/fees. Every command also takes the global options.

taxes

hostemi taxes get

Tax rules of a property. Reads only. Never asks.

hostemi taxes get <id>
ArgumentRequiredDescription
<id>yesProperty id

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

hostemi taxes set

Preview replacing the tax rules (always needs the host’s approval). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.

hostemi taxes set <id>
ArgumentRequiredDescription
<id>yesProperty id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: preview, then apply · API: PUT /public/v1/properties/:id/taxes. Every command also takes the global options.

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