---
title: "Commands: prices and stay rules | Hostemi"
description: "prices, pricing, rules, rates, seasons, discounts, fees, taxes and price plans. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/cli/reference/prices
source: https://hostemi.com/docs/cli/reference/prices.md
---

# Commands: prices and stay rules

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

#### On this page

1. [Overview](#overview)
2. [prices](#prices)
3. [pricing](#pricing)
4. [rates](#rates)
5. [rules](#rules)
6. [rate-plans](#rate-plans)
7. [seasons](#seasons)
8. [discounts](#discounts)
9. [fees](#fees)
10. [taxes](#taxes)

## Overview

| Command | Mode | What it does |
| --- | --- | --- |
| [`pricing get`](#pricing-get) | reads | Nightly prices and stay rules: all platforms, your website and each platform |
| [`pricing set`](#pricing-set) | preview, then apply | Change prices, stay rules or availability for a night range (preview, then apply) |
| [`pricing reset`](#pricing-reset) | preview, then apply | Reset nights to the inherited value (season, weekend price, base price) |
| [`pricing close`](#pricing-close) | preview, then apply | Close nights (or only arrivals with --arrivals-only) |
| [`pricing open`](#pricing-open) | preview, then apply | Open closed nights again |
| [`pricing explain`](#pricing-explain) | reads | Why one night costs what it costs, on every scope |
| [`pricing context`](#pricing-context) | reads | One listing side by side: all platforms, your website and each platform |
| [`pricing signals`](#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`](#pricing-pace) | reads | Every listing in one line: nights for sale, sold, free, and sold in the last 7 days |
| [`pricing command`](#pricing-command) | preview, then apply | Preview any pricing command kind with a JSON input (--input or --data) |
| [`rules`](#rules) | reads | Standing rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings |
| [`rates get`](#rates-get) | reads | Nightly prices and stay limits per price plan |
| [`seasons list`](#seasons-list) | reads | Seasons, highest priority first |
| [`seasons create`](#seasons-create) | preview, then apply | Preview a new season (apply it after the preview) |
| [`seasons update`](#seasons-update) | preview, then apply | Preview a season change |
| [`seasons delete`](#seasons-delete) | preview, then apply | Preview deleting a season |
| [`seasons reorder`](#seasons-reorder) | preview, then apply | Preview a new season order, highest priority first |
| [`discounts get`](#discounts-get) | reads | Length-of-stay, early bird and last minute discounts |
| [`discounts set`](#discounts-set) | preview, then apply | Preview replacing the discounts of a listing |
| [`discounts non-refundable`](#discounts-non-refundable) | changes | Offer, change or stop the non-refundable price of a listing (setting a percent waits for the host) |
| [`fees get`](#fees-get) | reads | Listing fees (default and per platform) |
| [`fees set`](#fees-set) | preview, then apply | Preview replacing the fees of a listing (the full list, --input fees.json) |
| [`taxes get`](#taxes-get) | reads | Tax rules of a property |
| [`taxes set`](#taxes-set) | preview, then apply | Preview replacing the tax rules (always needs the host’s approval) |
| [`rate-plans list`](#rate-plans-list) | reads | Price plans and rate options of a property |
| [`rate-plans create`](#rate-plans-create) | changes | Add a rate option to a listing (e.g. non-refundable, following the standard plan) |
| [`rate-plans delete`](#rate-plans-delete) | changes | Remove a rate option (never the standard plan) |
| [`pricing quote`](#pricing-quote) | reads | What one stay costs on your website: nights, discounts, fees, taxes, total |
| [`pricing rounding`](#pricing-rounding) | changes | How computed prices are rounded: whole, ends\_in\_9 or none |
| [`pricing currencies`](#pricing-currencies) | reads | The currency each platform sells in, its rate, and today's ECB rate |
| [`pricing rates`](#pricing-rates) | reads | Your account exchange rates: one per currency, where each is used, and today's ECB rate |
| [`pricing rate set`](#pricing-rate-set) | changes | Set one exchange rate for every listing, platform and website in that currency (asks the host first) |
| [`pricing currency set`](#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`](#rates-set) | changes | Set the nightly price of a listing for a range, on every platform |
| [`prices get`](#prices-get) | = pricing get | Nightly prices and stay rules, per platform |
| [`prices set`](#prices-set) | = pricing set | Change prices, stay rules or availability for a night range (preview, then apply) |
| [`prices adjust`](#prices-adjust) | = pricing set | Raise or lower prices for a range: +10%, -5% or an amount (preview, then apply) |
| [`prices explain`](#prices-explain) | = pricing explain | Why one night costs what it costs, on every scope |
| [`prices reset`](#prices-reset) | = pricing reset | Reset nights to the inherited value (season, weekend price, base price) |
| [`prices close`](#prices-close) | = pricing close | Close nights (or only arrivals with --arrivals-only) |
| [`prices open`](#prices-open) | = pricing open | Open closed nights again |
| [`prices compare`](#prices-compare) | = pricing context | One listing side by side: all platforms, your website and each platform |
| [`rules get`](#rules-get) | = rules | Standing rules of a listing: base and weekend price, stay rules, discounts, fees, per-platform settings |
| [`rules set`](#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](https://hostemi.com/docs/cli/approvals).

## prices

### hostemi prices get

Nightly prices and stay rules, per platform. A short name for [`hostemi pricing get`](https://hostemi.com/docs/cli/reference/prices#pricing-get): it runs that command, with the arguments shown here and that command's options.

```bash
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`](https://hostemi.com/docs/cli/reference/prices#pricing-set): it runs that command, with the arguments shown here and that command's options.

```bash
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`](https://hostemi.com/docs/cli/reference/prices#pricing-set): it runs that command, with the arguments shown here and that command's options.

```bash
hostemi prices adjust <listing id> <range> <+10%|-5%|+15>
```

Example

```bash
hostemi prices adjust cmwhux6y60026somfhixjmcm8 2027-07-01:2027-07-31 +10% --weekdays fri,sat --dry-run
```

Output (recorded in a test workspace, exit 0)

```text
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`](https://hostemi.com/docs/cli/reference/prices#pricing-explain): it runs that command, with the arguments shown here and that command's options.

```bash
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`](https://hostemi.com/docs/cli/reference/prices#pricing-reset): it runs that command, with the arguments shown here and that command's options.

```bash
hostemi prices reset <unit> <range>
```

### hostemi prices close

Close nights (or only arrivals with --arrivals-only). A short name for [`hostemi pricing close`](https://hostemi.com/docs/cli/reference/prices#pricing-close): it runs that command, with the arguments shown here and that command's options.

```bash
hostemi prices close <unit> <range>
```

### hostemi prices open

Open closed nights again. A short name for [`hostemi pricing open`](https://hostemi.com/docs/cli/reference/prices#pricing-open): it runs that command, with the arguments shown here and that command's options.

```bash
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`](https://hostemi.com/docs/cli/reference/prices#pricing-context): it runs that command, with the arguments shown here and that command's options.

```bash
hostemi prices compare <id>
```

## pricing

### hostemi pricing get

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

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

### hostemi pricing open

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

```bash
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](https://hostemi.com/docs/cli/usage).

### hostemi pricing explain

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

```bash
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](https://hostemi.com/docs/cli/usage).

### hostemi pricing context

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

Example

```bash
hostemi pricing pace
```

Output (recorded in a test workspace, exit 0)

```text
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.

```bash
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](https://hostemi.com/docs/cli/usage).

### hostemi pricing quote

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

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
hostemi pricing rates
```

Mode: reads · API: GET /public/v1/exchange-rates. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

## rules

### hostemi rules

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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`](https://hostemi.com/docs/cli/reference/prices#rules): it runs that command, with the arguments shown here and that command's options.

```bash
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`](https://hostemi.com/docs/cli/reference/prices#pricing-set): it runs that command, with the arguments shown here and that command's options.

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

## seasons

### hostemi seasons list

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
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.

```bash
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](https://hostemi.com/docs/cli/usage).

### hostemi seasons delete

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

## discounts

### hostemi discounts get

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi discounts non-refundable unit_1 10%
```

## fees

### hostemi fees get

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

## taxes

### hostemi taxes get

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

```bash
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](https://hostemi.com/docs/cli/usage).

### 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.

```bash
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](https://hostemi.com/docs/cli/usage).

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
