Guest Add

Adds a guest to a reservation of the account.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Adds a guest to a reservation of the account.

Without doc_type, only the name is saved and the stay dates are copied from the reservation. With doc_type, all fields are saved, including the document data used for guest registration (eVisitor). When city_tax is Y and city_tax_price is 0, MyRent calculates the city tax.

Headers: user_guid and b2b_guid. See MyRent User API.

Example request body

{
  "rent_id": "123456",
  "name_first": "First",
  "name_last": "Last",
  "date_from": "2026-12-01",
  "date_until": "2026-12-05",
  "type": "adult",
  "city_tax": "Y",
  "city_tax_price": 0,
  "doc_type": "P",
  "document_number": "X0000000",
  "gender_type": "man",
  "birth_date": "1990-01-01",
  "birth_country": "DEU",
  "citizenship": "DEU",
  "residence_country": "DEU",
  "residence_city": "Berlin"
}

Responses

CodeMeaning
200Guest added.
401Missing or wrong user_guid / b2b_guid headers.
500The data is invalid.
Body Params
string
required

MyRent reservation ID.

string
required

First name.

string
required

Last name.

string

Arrival, yyyy-MM-dd.

string

Departure, yyyy-MM-dd.

string
enum
Defaults to adult

Guest type.

Allowed:
string
enum
Defaults to Y

Show the guest on the invoice.

Allowed:
string
enum
Defaults to Y

Calculate city tax for this guest.

Allowed:
double
Defaults to 0

City tax amount. 0 lets MyRent calculate it when city_tax is Y.

string

eVisitor city tax payment category.

string

E-mail.

string

Phone.

string

MyRent worker who added the guest.

string

Note.

string

Voucher ID.

string

Additional text.

string

Additional text.

string

Document type, for example P (passport) or ID (ID card). Required for the document fields below to be saved.

string

Croatian eVisitor document type code.

string

Document number.

string

Document expiry date, yyyy-MM-dd.

string
enum

Gender.

Allowed:
string

Gender as eVisitor value (muški, ženski).

string

Date of birth, yyyy-MM-dd.

string

Place of birth.

string

Country of birth, ISO alpha-3.

string

Citizenship, ISO alpha-3.

string

Country of residence, ISO alpha-3.

string

City of residence.

string

Additional eVisitor text.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain