Commands: prices and stay rules
prices, pricing, rules, rates, seasons, discounts, fees, taxes and price plans.
Overview
| Command | Mode | What it does |
|---|---|---|
pricing get | reads | Nightly prices and stay rules: all platforms, your website and each platform |
pricing set | preview, then apply | Change prices, stay rules or availability for a night range (preview, then apply) |
pricing reset | preview, then apply | Reset nights to the inherited value (season, weekend price, base price) |
pricing close | preview, then apply | Close nights (or only arrivals with --arrivals-only) |
pricing open | preview, then apply | Open closed nights again |
pricing explain | reads | Why one night costs what it costs, on every scope |
pricing context | reads | One listing side by side: all platforms, your website and each platform |
pricing signals | reads | 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 |
pricing pace | reads | Every listing in one line: nights for sale, sold, free, and sold in the last 7 days |
pricing command | preview, then apply | Preview any pricing command kind with a JSON input (--input or --data) |
rules | reads | Standing rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings |
rates get | reads | Nightly prices and stay limits per price plan |
seasons list | reads | Seasons, highest priority first |
seasons create | preview, then apply | Preview a new season (apply it after the preview) |
seasons update | preview, then apply | Preview a season change |
seasons delete | preview, then apply | Preview deleting a season |
seasons reorder | preview, then apply | Preview a new season order, highest priority first |
discounts get | reads | Length-of-stay, early bird and last minute discounts |
discounts set | preview, then apply | Preview replacing the discounts of a listing |
discounts non-refundable | changes | Offer, change or stop the non-refundable price of a listing (setting a percent waits for the host) |
fees get | reads | Listing fees (default and per platform) |
fees set | preview, then apply | Preview replacing the fees of a listing (the full list, --input fees.json) |
taxes get | reads | Tax rules of a property |
taxes set | preview, then apply | Preview replacing the tax rules (always needs the host’s approval) |
rate-plans list | reads | Price plans and rate options of a property |
rate-plans create | changes | Add a rate option to a listing (e.g. non-refundable, following the standard plan) |
rate-plans delete | changes | Remove a rate option (never the standard plan) |
pricing quote | reads | What one stay costs on your website: nights, discounts, fees, taxes, total |
pricing rounding | changes | How computed prices are rounded: whole, ends_in_9 or none |
pricing currencies | reads | The currency each platform sells in, its rate, and today's ECB rate |
pricing rates | reads | Your account exchange rates: one per currency, where each is used, and today's ECB rate |
pricing rate set | changes | Set one exchange rate for every listing, platform and website in that currency (asks the host first) |
pricing currency set | changes | 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 |
rates set | changes | Set the nightly price of a listing for a range, on every platform |
prices get | = pricing get | Nightly prices and stay rules, per platform |
prices set | = pricing set | Change prices, stay rules or availability for a night range (preview, then apply) |
prices adjust | = pricing set | Raise or lower prices for a range: +10%, -5% or an amount (preview, then apply) |
prices explain | = pricing explain | Why one night costs what it costs, on every scope |
prices reset | = pricing reset | Reset nights to the inherited value (season, weekend price, base price) |
prices close | = pricing close | Close nights (or only arrivals with --arrivals-only) |
prices open | = pricing open | Open closed nights again |
prices compare | = pricing context | One listing side by side: all platforms, your website and each platform |
rules get | = rules | Standing rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings |
rules set | = pricing set | Stay 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>hostemi prices adjust cmwhux6y60026somfhixjmcm8 2027-07-01:2027-07-31 +10% --weekdays fri,sat --dry-run10 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@1hostemi 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
| Option | Type | Description |
|---|---|---|
--from | date | First night, YYYY-MM-DD Required. |
--to | date | Last night (inclusive) Required. |
--scopes | string | Comma separated: default (all platforms), direct (your website), c:<id> (one connected platform) |
--units | string | Comma separated listing ids |
Mode: reads · API: GET /public/v1/properties/:id/nights. Every command also takes the global options.
hostemi pricing get prop_1 --from 2026-11-01 --to 2026-11-30hostemi 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>| Argument | Required | Description |
|---|---|---|
<unit> | yes | Listing id (comma separated for several) |
<range> | yes | from:to, inclusive (comma separated for several) |
| Option | Type | Description |
|---|---|---|
--price | amount | Nightly price in whole units of the listing’s currency (120 = €120, 119.90 = €119.90) |
--price-minor | int | Nightly price in the currency’s smallest unit (12050 = €120.50, 15000 = ¥15,000) |
--adjust-pct | number | Raise or lower by percent (-10, 15) |
--adjust | amount | Raise or lower by an amount, major units |
--floor | amount | With an adjustment: never below this (major units) |
--min-nights | int|none | Minimum nights (none = inherit) |
--max-nights | int|none | Maximum nights, 0 = no maximum (none = inherit) |
--arrivals | switch | on | off: may guests arrive on these nights |
--departures | switch | on | off: may guests leave on these nights |
--closed | switch | Close the nights (no sales anywhere) |
--open | switch | Open closed nights again |
--close-arrivals | switch | Close arrivals only |
--block-rooms | int | Rooms closed on each night, on every platform (replaces earlier closes; 0 reopens) |
--scope | string | default = all platforms (the default), direct = your website, c:<id> = one connected platform |
--weekdays | list | Only these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat) |
--rate-plans | list | Price plan ids instead of each listing’s standard plan |
--note | string | Internal note kept in the history |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: preview, then apply · API: POST /public/v1/pricing/bulk. Every command also takes the global options.
hostemi pricing set unit_1 2026-11-01:2027-02-28 --closed --yeshostemi 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>| Argument | Required | Description |
|---|---|---|
<unit> | yes | Listing id |
<range> | yes | from:to, inclusive |
| Option | Type | Description |
|---|---|---|
--fields | list | price,minNights,maxNights,arrivalsAllowed,departuresAllowed,availability (default: all) |
--scope | string | default = all platforms (the default), direct = your website, c:<id> = one connected platform |
--weekdays | list | Only these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat) |
--rate-plans | list | Price plan ids instead of each listing’s standard plan |
--note | string | Internal note kept in the history |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<unit> | yes | Listing id |
<range> | yes | from:to, inclusive |
| Option | Type | Description |
|---|---|---|
--arrivals-only | switch | Close arrivals, keep stays through |
--scope | string | default = all platforms (the default), direct = your website, c:<id> = one connected platform |
--weekdays | list | Only these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat) |
--rate-plans | list | Price plan ids instead of each listing’s standard plan |
--note | string | Internal note kept in the history |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<unit> | yes | Listing id |
<range> | yes | from:to, inclusive |
| Option | Type | Description |
|---|---|---|
--scope | string | default = all platforms (the default), direct = your website, c:<id> = one connected platform |
--weekdays | list | Only these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat) |
--rate-plans | list | Price plan ids instead of each listing’s standard plan |
--note | string | Internal note kept in the history |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
<date> | yes | Night, YYYY-MM-DD |
| Option | Type | Description |
|---|---|---|
--scope | string | default = all platforms, direct = your website, c:<id> = one connected platform |
--rate-plan | string | Price plan id |
--guests | int | Guest 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--connection | string | Only 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--from | date | First night, YYYY-MM-DD (default: today) |
--to | date | Last night, inclusive (default: 89 nights later; 184 at most) |
--detail | string | weeks (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.
hostemi pricing signals unit_1 --from 2026-12-01 --to 2026-12-31 --detail nightshostemi 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| Option | Type | Description |
|---|---|---|
--from | date | First night, YYYY-MM-DD (default: today) |
--to | date | Last night, inclusive (default: 89 nights later; 184 at most) |
Mode: reads · API: GET /public/v1/pricing-signals. Every command also takes the global options.
hostemi pricing pacetoday: 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 90hostemi 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>| Argument | Required | Description |
|---|---|---|
<kind> | yes | PRICING_BULK | CHANNEL_SETTINGS | DISCOUNTS_SET | FEES_SET | SEASON_UPSERT | SEASON_DELETE | SEASON_REORDER | TAXES_SET |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
<arrival> | yes | Arrival, YYYY-MM-DD |
<departure> | yes | Departure day, YYYY-MM-DD (the guest leaves that morning) |
| Option | Type | Description |
|---|---|---|
--adults | int | Adults (default 2) |
--children | int | Children |
--rate-plan | string | Price plan id |
Mode: reads · API: GET /public/v1/units/:id/quote. Every command also takes the global options.
hostemi prices quote <listingId> 2026-07-10 2026-07-17 --adults 4hostemi 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
<mode> | yes | whole | ends_in_9 | none |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/properties/:id/rounding. Every command also takes the global options.
hostemi prices rounding <propertyId> ends_in_9hostemi pricing currencies
The currency each platform sells in, its rate, and today's ECB rate. Reads only. Never asks.
hostemi pricing currencies <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
Mode: reads · API: GET /public/v1/properties/:id/currencies. Every command also takes the global options.
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.
hostemi pricing ratesMode: reads · API: GET /public/v1/exchange-rates. Every command also takes the global options.
hostemi prices rateshostemi 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.
hostemi pricing rate set <currency>| Argument | Required | Description |
|---|---|---|
<currency> | yes | ISO code, e.g. EUR |
| Option | Type | Description |
|---|---|---|
--rate | string | 1 unit of that currency in your account currency, e.g. 392.15 |
--ecb | switch | Use today's ECB reference rate instead |
--rate-date | string | YYYY-MM-DD of the ECB rate it came from (optional) |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/exchange-rates/:currency. Every command also takes the global options.
hostemi prices rate set EUR --rate 392.15hostemi 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.
hostemi pricing currency set <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Platform connection id (channels list) |
| Option | Type | Description |
|---|---|---|
--currency | string | ISO code, e.g. EUR; "none" = your listing currency again |
--rate | string | 1 unit of that currency in your listing currency, e.g. 395 (default: your account rate; given, it becomes it) |
--rate-date | string | YYYY-MM-DD of the published rate (optional) |
--rounding | string | Rounding in that currency (default: your listing's) One of: whole, ends_in_9, none. |
--clear-own-prices | switch | Clear the platform's own prices when its currency changes |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/connections/:id/currency. Every command also takes the global options.
hostemi prices currency set <connectionId> --currency EUR --rate 395 --rounding wholerates
hostemi rates get
Nightly prices and stay limits per price plan. Reads only. Never asks.
hostemi rates get --from <date> --to <date>| Option | Type | Description |
|---|---|---|
--from | date | First night Required. |
--to | date | Last night (inclusive) Required. |
--property | string | Property id |
--unit | string | Listing id |
--rate-plan | string | Price 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>]| Argument | Required | Description |
|---|---|---|
<listing> | yes | Listing name or id |
<range> | yes | from:to, both nights included (YYYY-MM-DD, today, tomorrow); one date = one night |
<price> | yes | Nightly price in whole units of the listing’s currency (120 = €120) |
| Option | Type | Description |
|---|---|---|
--min-nights | int | Minimum 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
| Option | Type | Description |
|---|---|---|
--unit | string | Listing id Required. |
--title | string | Name, unique in the property Required. |
--parent | string | Follow this price plan of the same listing |
--adjust-pct | number | With --parent: percent change (-10 = 10 % cheaper) |
--adjust | amount | With --parent: fixed change per night, major units |
--base-price | amount | Nightly price without a parent, major units |
--non-refundable | switch | A non-refundable option |
--meal | string | none | breakfast | half_board | full_board | all_inclusive |
--currency | string | HUF, EUR, … (default: the property currency) |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/properties/:id/rate-plans. Every command also takes the global options.
hostemi rate-plans create prop_1 --unit unit_1 --title "Non-refundable" --parent rp_std --adjust-pct=-10 --non-refundablehostemi 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
<ratePlanId> | yes | Price plan id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
| Option | Type | Description |
|---|---|---|
--name | string | Season name |
--ranges | list | from:to night ranges, inclusive, comma separated |
--yearly | switch | Repeat every year |
--weekdays | list | Only these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat) |
--units | list | Listing ids (default: every listing) |
--scope | string | default = all platforms, direct = your website, c:<id> = one connected platform |
--priority | int | Higher wins |
--color | string | Calendar colour |
--price | amount | Nightly price, major units |
--adjust-pct | number | Adjust by percent |
--min-nights | int|none | Minimum nights |
--max-nights | int|none | Maximum nights |
--arrivals | switch | on | off |
--departures | switch | on | off |
--closed | switch | Close the nights of this season |
--availability | string | open | closeArrivals | closeNights |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: preview, then apply · API: POST /public/v1/properties/:id/seasons. Every command also takes the global options.
hostemi seasons create prop_1 --name Winter --ranges 2026-12-20:2027-01-06 --price 52000 --min-nights 3hostemi 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
<seasonId> | yes | Season id |
| Option | Type | Description |
|---|---|---|
--name | string | Season name |
--ranges | list | from:to night ranges, inclusive, comma separated |
--yearly | switch | Repeat every year |
--weekdays | list | Only these weekdays, 1 = Monday … 7 = Sunday (e.g. 5,6 or fri,sat) |
--units | list | Listing ids (default: every listing) |
--scope | string | default = all platforms, direct = your website, c:<id> = one connected platform |
--priority | int | Higher wins |
--color | string | Calendar colour |
--price | amount | Nightly price, major units |
--adjust-pct | number | Adjust by percent |
--min-nights | int|none | Minimum nights |
--max-nights | int|none | Maximum nights |
--arrivals | switch | on | off |
--departures | switch | on | off |
--closed | switch | Close the nights of this season |
--availability | string | open | closeArrivals | closeNights |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
<seasonId> | yes | Season id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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…>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
<seasonIds> | yes | Season ids, highest first |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--los | string | Length of stay: nights:pct pairs, e.g. 7:10,28:20 (off = none) |
--early-bird | string | days:pct, e.g. 60:10 (off = none) |
--last-minute | string | days:pct, e.g. 3:5 (off = none) |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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.
hostemi discounts non-refundable <id> <percent>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
<percent> | yes | How much less, 1-50 (10 or 10%), or off |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/units/:id/non-refundable. Every command also takes the global options.
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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property 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>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: preview, then apply · API: PUT /public/v1/properties/:id/taxes. Every command also takes the global options.