Commands: bookings, guests and payments
bookings, requests, inquiries, payments, charges and guests.
Overview
| Command | Mode | What it does |
|---|---|---|
bookings list | reads | Bookings, with guest, listing and property |
bookings get | reads | One booking |
bookings create | changes | Create a manual or direct booking (platform bookings come in by themselves) |
bookings modify | changes | Change guests, listing, price plan or notes (dates: `bookings move`) |
bookings move | changes | Move a manual or direct booking to new dates (platform bookings: 409) |
bookings cancel | host approves | Ask the host to cancel a booking (the API never cancels) |
bookings confirm | changes | Confirm a hold (PROVISIONAL → CONFIRMED) |
bookings hold | changes | Turn a booking request into a hold, or extend a hold |
bookings check-in | changes | Check the guest in |
bookings check-out | changes | Check the guest out |
bookings no-show | changes | Mark a no-show and free the nights (reported to the platform where it takes one) |
bookings pending | reads | A platform change waiting on this booking, as before / after |
bookings resolve | host approves | Ask the host to accept, decline or withdraw a pending platform change |
payments record | changes | Record money the host received (twice = two payments) |
payments refund-suggestion | reads | What the guest would get back if the booking were cancelled now (by the cancellation policy) |
payments refund | host approves | Ask the host to refund (the API never moves money) |
requests list | reads | Requests to book and booking requests waiting for an answer, nearest deadline first |
requests get | reads | One request with its deadline and allowed answers |
requests accept | host approves | Propose accepting a request to book (the host confirms) |
requests decline | host approves | Propose declining a request to book (the host confirms) |
inquiries list | reads | Open booking requests |
inquiries preapprove | host approves | Propose pre-approving a booking request |
inquiries offer | host approves | Propose a special offer for a booking request |
inquiries decline | host approves | Propose declining a booking request |
guests list | reads | Search guests |
guests get | reads | One guest with bookings |
guests update | changes | Change guest details |
charges list | reads | Extra charges on a booking |
charges add | changes | Add an extra charge to a booking (NTAK category + VAT rate) |
charges add-many | changes | Add many charges in one write: --input charges.json ({"charges":[…]}) |
charges remove | changes | Remove an extra charge from a booking |
charges property | reads | Charges that belong to no booking |
charges property add | changes | Record a charge that belongs to no booking |
charges property remove | changes | Remove a property charge |
bookings checkin-link | shows, then does | E-mail the guest the self check-in link (shows the address first) |
bookings access | reads | How the guest gets in: their own door code and each door's state |
bookings access update | changes | Make the booking's door code again (no flags), move when it works (--from and --until), or put it in a room (--room-id) |
bookings balance | reads | The rest of a website deposit booking: how much, due when, paid or not |
bookings balance ask | changes | E-mail the guest the card payment link for the rest, now (asks you first) |
bookings balance charge-card | changes | Charge the rest to the card the guest kept at booking (asks you first, never automatic) |
bookings | reads | Bookings: the upcoming ones by default (not the cancelled ones) |
booking | reads | One booking |
payments list | reads | Card payments on a booking |
reservations finance | reads | Money on one booking: platform commission, net payout, guarantee |
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.
bookings
hostemi bookings list
Bookings, with guest, listing and property. Reads only. Never asks.
hostemi bookings list| Option | Type | Description |
|---|---|---|
--from | date | Overlapping from |
--to | date | Overlapping to |
--status | string | CONFIRMED, PROVISIONAL, CANCELLED, INQUIRY, … |
--source | string | MANUAL, DIRECT, AIRBNB, BOOKING_COM, … |
--property | string | Property id |
--unit | string | Listing id |
--search | string | Guest name, e-mail or code |
--hide-cancelled | switch | Leave cancelled ones out |
--cursor | string | Next page cursor |
--take | int | Page size |
Mode: reads · API: GET /public/v1/reservations. Every command also takes the global options.
hostemi bookings get
One booking. Reads only. Never asks.
hostemi bookings get <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id. Every command also takes the global options.
hostemi bookings create
Create a manual or direct booking (platform bookings come in by themselves). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings create --property <string> --unit <string> --arrival <date> --departure <date>| Option | Type | Description |
|---|---|---|
--property | string | Property id Required. |
--unit | string | Listing id Required. |
--arrival | date | Arrival day Required. |
--departure | date | Departure day (not a night) Required. |
--status | string | CONFIRMED (default) | PROVISIONAL | INQUIRY |
--source | string | MANUAL (default) | DIRECT |
--rate-plan | string | Price plan id |
--adults | int | Adults |
--children | int | Children |
--infants | int | Infants |
--rooms | int | Rooms |
--total | amount | Total, major units |
--paid | amount | Already paid, major units |
--hold-until | string | PROVISIONAL: hold until (ISO 8601) |
--guest-id | string | Existing guest id |
--first-name | string | Guest first name |
--last-name | string | Guest last name |
--email | string | Guest e-mail |
--phone | string | Guest phone |
--country | string | Guest country (HU) |
--language | string | Guest language (hu) |
--comment | string | Guest comment |
--notes | string | Internal notes |
--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/reservations. Every command also takes the global options.
hostemi bookings create --property prop_1 --unit unit_1 --arrival 2026-12-01 --departure 2026-12-04 --first-name Anna --last-name Kisshostemi bookings modify
Change guests, listing, price plan or notes (dates: `bookings move`). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings modify <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--unit | string | Listing id |
--rate-plan | string | Price plan id |
--adults | int | Adults |
--children | int | Children |
--infants | int | Infants |
--rooms | int | Rooms |
--comment | string | Guest comment |
--notes | string | Internal notes |
--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/reservations/:id. Every command also takes the global options.
hostemi bookings move
Move a manual or direct booking to new dates (platform bookings: 409). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings move <id> --arrival <date> --departure <date>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--arrival | date | Arrival day Required. |
--departure | date | Departure day (not a night) Required. |
--unit | string | Listing id |
--rooms | int | Rooms |
--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/reservations/:id/dates. Every command also takes the global options.
hostemi bookings cancel
Ask the host to cancel a booking (the API never cancels). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi bookings cancel <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--reason | string | Why |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservations/:id/cancel. Every command also takes the global options.
hostemi bookings confirm
Confirm a hold (PROVISIONAL → CONFIRMED). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings confirm <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking 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: POST /public/v1/reservations/:id/confirm. Every command also takes the global options.
hostemi bookings hold
Turn a booking request into a hold, or extend a hold. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings hold <id> --until <string>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--until | string | ISO 8601 Required. |
--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/reservations/:id/hold. Every command also takes the global options.
hostemi bookings check-in
Check the guest in. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings check-in <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--at | string | When (ISO 8601, default now) |
--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/reservations/:id/check-in. Every command also takes the global options.
hostemi bookings check-out
Check the guest out. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings check-out <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--at | string | When (ISO 8601, default now) |
--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/reservations/:id/check-out. Every command also takes the global options.
hostemi bookings no-show
Mark a no-show and free the nights (reported to the platform where it takes one). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings no-show <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--waive-fees | switch | Booking.com: on = waive the no-show fee, off = keep it (default: the platform setting, `channels platform-wide`) |
--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/reservations/:id/no-show. Every command also takes the global options.
hostemi bookings pending
A platform change waiting on this booking, as before / after. Reads only. Never asks.
hostemi bookings pending <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id/pending-changes. Every command also takes the global options.
hostemi bookings resolve
Ask the host to accept, decline or withdraw a pending platform change. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi bookings resolve <id> <decision>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
<decision> | yes | accept | decline | withdraw (a change request that started on your side; the booking stays) |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservations/:id/pending-changes/resolve. Every command also takes the global options.
hostemi bookings checkin-link
E-mail the guest the self check-in link (shows the address first). Shows what it would do first; does it with --yes. --dry-run stops at the preview.
hostemi bookings checkin-link <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: shows, then does · API: POST /public/v1/reservations/:id/checkin-link. Every command also takes the global options.
hostemi bookings access
How the guest gets in: their own door code and each door's state. Reads only. Never asks.
hostemi bookings access <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id/access. Every command also takes the global options.
hostemi bookings access <bookingId>hostemi bookings access update
Make the booking's door code again (no flags), move when it works (--from and --until), or put it in a room (--room-id). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings access update <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--from | string | New start, ISO time (2026-12-04T13:00:00Z) |
--until | string | New end, ISO time |
--room-id | string | The room of a several-room listing (from bookings access); its lock gets the code |
--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/reservations/:id/access. Every command also takes the global options.
hostemi bookings access update <bookingId> --from 2026-12-04T12:00:00Z --until 2026-12-06T09:00:00Zhostemi bookings balance
The rest of a website deposit booking: how much, due when, paid or not. Reads only. Never asks.
hostemi bookings balance <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id/balance. Every command also takes the global options.
hostemi bookings balance <bookingId>hostemi bookings balance ask
E-mail the guest the card payment link for the rest, now (asks you first). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings balance ask <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking 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: POST /public/v1/reservations/:id/balance/request. Every command also takes the global options.
hostemi bookings balance ask <bookingId>hostemi bookings balance charge-card
Charge the rest to the card the guest kept at booking (asks you first, never automatic). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi bookings balance charge-card <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking 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: POST /public/v1/reservations/:id/balance/charge-saved-card. Every command also takes the global options.
hostemi bookings balance charge-card <bookingId>hostemi bookings
Bookings: the upcoming ones by default (not the cancelled ones). Reads only. Never asks.
hostemi bookings [--arriving <day>] [--departing <day>] [--status <S>] [--all]| Option | Type | Description |
|---|---|---|
--arriving | string | Arriving on this day |
--departing | string | Leaving on this day |
--status | string | CONFIRMED, CANCELLED, PROVISIONAL, CHECKED_IN, CHECKED_OUT, NO_SHOW, INQUIRY |
--unit | string | Listing id |
--all | switch | Past and cancelled bookings too |
--from | date | Staying on or after this day |
--to | date | Staying on or before this day |
--search | string | Guest name or e-mail |
--take | int | Page size (default 50, at most 200) |
--cursor | string | Next page, as printed |
Mode: reads · API: GET /public/v1/reservations. Every command also takes the global options.
hostemi bookingsBooking Dates Nights Guest Listing Status Total
HST-2026-000001 Dec 5 → 8 3 Lena Hoffm… Lake house Confirmed €360
HST-2026-000012 Dec 27 → 30 3 Anna Keller Lake house Confirmed €360
One booking: hostemi booking <Booking> ids: add --jsonbooking
hostemi booking
One booking. Reads only. Never asks.
hostemi booking <id|code>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id, or its code (HST-2026-000123) |
Mode: reads · API: GET /public/v1/reservations/:id. Every command also takes the global options.
hostemi booking HST-2026-000012Anna Keller · HST-2026-000012
Dates Sun, Dec 27 → Wed, Dec 30 (3 nights)
Listing Lake house
Guests 2
Status Confirmed
Source Added by you
Total €360 (nothing paid yet)
E-mail [email protected]
Id cmwkahsef000b2ikz2r939nf4reservations
hostemi reservations finance
Money on one booking: platform commission, net payout, guarantee. Reads only. Never asks.
hostemi reservations finance <bookingId>| Argument | Required | Description |
|---|---|---|
<bookingId> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id. Every command also takes the global options.
requests
hostemi requests list
Requests to book and booking requests waiting for an answer, nearest deadline first. Reads only. Never asks.
hostemi requests list| Option | Type | Description |
|---|---|---|
--status | string | open (default) | all | PENDING | ACCEPTED | DECLINED | EXPIRED | PREAPPROVED | OFFERED |
--kind | string | REQUEST_TO_BOOK | INQUIRY |
--property | string | Property id |
--take | int | Page size |
Mode: reads · API: GET /public/v1/reservation-requests. Every command also takes the global options.
hostemi requests get
One request with its deadline and allowed answers. Reads only. Never asks.
hostemi requests get <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Request id |
Mode: reads · API: GET /public/v1/reservation-requests/:id. Every command also takes the global options.
hostemi requests accept
Propose accepting a request to book (the host confirms). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi requests accept <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Request id |
| Option | Type | Description |
|---|---|---|
--message | string | Message to the guest |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the global options.
hostemi requests decline
Propose declining a request to book (the host confirms). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi requests decline <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Request id |
| Option | Type | Description |
|---|---|---|
--reason | string | DATES_NOT_AVAILABLE | NOT_A_GOOD_FIT | WAITING_FOR_BETTER | NOT_COMFORTABLE |
--message | string | Message to the guest |
--block-instant-booking | switch | Block this guest from instant booking |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the global options.
inquiries
hostemi inquiries list
Open booking requests. Reads only. Never asks.
hostemi inquiries list| Option | Type | Description |
|---|---|---|
--status | string | open (default) | all | one status |
--property | string | Property id |
Mode: reads · API: GET /public/v1/reservation-requests. Every command also takes the global options.
hostemi inquiries preapprove
Propose pre-approving a booking request. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi inquiries preapprove <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Request id |
| Option | Type | Description |
|---|---|---|
--message | string | Message to the guest |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the global options.
hostemi inquiries offer
Propose a special offer for a booking request. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi inquiries offer <id> --total <amount>| Argument | Required | Description |
|---|---|---|
<id> | yes | Request id |
| Option | Type | Description |
|---|---|---|
--total | amount | Offer total, major units Required. |
--message | string | Message to the guest |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the global options.
hostemi inquiries decline
Propose declining a booking request. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi inquiries decline <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Request id |
| Option | Type | Description |
|---|---|---|
--message | string | Message to the guest |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the global options.
payments
hostemi payments record
Record money the host received (twice = two payments). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi payments record <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--amount | amount | Amount, major units |
--amount-minor | int | Amount, minor units |
--method | string | KESZPENZ (cash, default), BANKKARTYA, ATUTALAS, SZEP_KARTYA, UTALVANY, UTOLAGOS, EGYEB |
--paid-at | date | YYYY-MM-DD |
--note | string | Note |
--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/reservations/:id/payments. Every command also takes the global options.
hostemi payments refund-suggestion
What the guest would get back if the booking were cancelled now (by the cancellation policy). Reads only. Never asks.
hostemi payments refund-suggestion <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id/refund-suggestion. Every command also takes the global options.
hostemi payments refund-suggestion res_1hostemi payments refund
Ask the host to refund (the API never moves money). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi payments refund <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--amount | amount | Amount, major units (default: all refundable) |
--note | string | Note |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/reservations/:id/refund. Every command also takes the global options.
hostemi payments list
Card payments on a booking. Reads only. Never asks.
hostemi payments list <bookingId>| Argument | Required | Description |
|---|---|---|
<bookingId> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id/payments. Every command also takes the global options.
charges
hostemi charges list
Extra charges on a booking. Reads only. Never asks.
hostemi charges list <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
Mode: reads · API: GET /public/v1/reservations/:id/charges. Every command also takes the global options.
hostemi charges add
Add an extra charge to a booking (NTAK category + VAT rate). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi charges add <id> --date <date> --amount <amount>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
| Option | Type | Description |
|---|---|---|
--date | date | Day of the charge Required. |
--category | string | NTAK main category (e.g. ETEL, ALKOHOLOSITAL) |
--subcategory | string | NTAK sub category |
--vat | int | VAT rate: 0, 5, 18 or 27 |
--amount | amount | Gross amount, major units Required. |
--currency | string | Currency (default: the booking or property currency) |
--label | string | Label |
--part-of-package | switch | Included in the package price (on|off) |
--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/reservations/:id/charges. Every command also takes the global options.
hostemi charges add res_1 --date 2026-11-02 --category ETEL --vat 27 --amount 4500 --label "Breakfast"hostemi charges add-many
Add many charges in one write: --input charges.json ({"charges":[…]}). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi charges add-many <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking 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: POST /public/v1/reservations/:id/charges/bulk. Every command also takes the global options.
hostemi charges remove
Remove an extra charge from a booking. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi charges remove <id> <chargeId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Booking id |
<chargeId> | yes | Charge 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/reservations/:id/charges/:chargeId. Every command also takes the global options.
hostemi charges property
Charges that belong to no booking. Reads only. Never asks.
hostemi charges property <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
| Option | Type | Description |
|---|---|---|
--from | date | From day |
--to | date | To day (inclusive) |
Mode: reads · API: GET /public/v1/properties/:id/charges. Every command also takes the global options.
hostemi charges property add
Record a charge that belongs to no booking. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi charges property add <id> --charge-kind <string> --date <date> --amount <amount>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
| Option | Type | Description |
|---|---|---|
--charge-kind | string | The property charge kind Required. |
--date | date | Day of the charge Required. |
--category | string | NTAK main category (e.g. ETEL, ALKOHOLOSITAL) |
--subcategory | string | NTAK sub category |
--vat | int | VAT rate: 0, 5, 18 or 27 |
--amount | amount | Gross amount, major units Required. |
--currency | string | Currency (default: the booking or property currency) |
--label | string | Label |
--payment-method | string | NTAK payment method (costs) |
--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/charges. Every command also takes the global options.
hostemi charges property remove
Remove a property charge. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi charges property remove <id> <chargeId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Property id |
<chargeId> | yes | Charge 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/charges/:chargeId. Every command also takes the global options.
guests
hostemi guests list
Search guests. Reads only. Never asks.
hostemi guests list| Option | Type | Description |
|---|---|---|
--search | string | Name or e-mail |
--cursor | string | Next page cursor |
--take | int | Page size |
Mode: reads · API: GET /public/v1/guests. Every command also takes the global options.
hostemi guests get
One guest with bookings. Reads only. Never asks.
hostemi guests get <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Guest id |
Mode: reads · API: GET /public/v1/guests/:id. Every command also takes the global options.
hostemi guests update
Change guest details. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi guests update <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Guest id |
| Option | Type | Description |
|---|---|---|
--first-name | string | First name |
--last-name | string | Last name |
--email | string | |
--phone | string | Phone |
--country | string | Country (HU) |
--language | string | Language (hu) |
--address | string | Address |
--city | string | City |
--postal-code | string | Postal code |
--notes | string | Team-only notes |
--marketing-consent | switch | on | off |
--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/guests/:id. Every command also takes the global options.