post
https://api.my-rent.net/user/guest_add
Adds a guest to a reservation of the account.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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
| Code | Meaning |
|---|---|
| 200 | Guest added. |
| 401 | Missing or wrong user_guid / b2b_guid headers. |
| 500 | The data is invalid. |
