Add

Creates a reservation on a property and returns the new reservation ID.

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

Creates a reservation on a property and returns the new reservation ID. MyRent sends the new-reservation notification e-mail.

Only from_date and until_date are required. Fields you do not send get the property or account defaults (check-in and check-out time, currency, exchange rate). Keep the returned ID for Add items, Add payment and Update reservation.

Headers: user_guid and b2b_guid. See Web API - Guide.

Example request body

{
  "from_date": "2026-07-01",
  "until_date": "2026-07-08",
  "adults": 2,
  "children": 1,
  "price": 840.00,
  "currency_id": "2",
  "in_advance": 250.00,
  "in_advance_date": "2026-05-20",
  "contact_name": "Guest Name",
  "contact_email": "[email protected]",
  "contact_tel": "+385910000000",
  "note": "Source: website",
  "sync_wait": "Y"
}

Responses

CodeMeaning
200Reservation created. The body is the new reservation ID.
500Reservation not created. The body is the error text, for example a missing property or wrong dates.
Path Params
int32
required

MyRent property ID.

Body Params
string
required

Arrival date, yyyy-MM-dd.

string
required

Departure date, yyyy-MM-dd. Must not be before from_date.

string

Check-in time, HH:mm. Default: property check-in time.

string

Check-out time, HH:mm. Default: property check-out time.

int32
Defaults to 0

Number of adults.

int32
Defaults to 0

Number of children.

int32
Defaults to 0

Number of young children.

int32
Defaults to 0

Number of infants.

int32
Defaults to 0

Number of pets.

double
Defaults to 0

Total price of the stay.

int32

MyRent currency ID (2 is EUR). Default: account currency.

string

Date by which the full price must be paid, yyyy-MM-dd.

double

Advance payment amount.

int32

Currency of the advance. Default: currency_id.

string

Date by which the advance must be paid, yyyy-MM-dd.

string

Promo code. MyRent adds the discount item when item_auto_add is Y.

string

Name of the main guest, for example Guest Name.

string

Guest phone, international format, for example +385910000000.

string

Guest e-mail.

int32

MyRent country ID.

string

Street address.

string

City.

string

Postal code.

int32

MyRent reservation source ID.

int32

MyRent reservation status ID.

int32

MyRent payment method ID.

string

Your own reservation or order ID (external ID).

string

Internal note, for example Source: website.

string

Note from the guest.

string
enum
Defaults to N

Y: wait for the channel sync and follow-up steps before the response. N: they run in the background.

Allowed:
string
enum
Defaults to Y

Y adds the property's automatic items (cleaning, tourist tax, ...) and the promo code item.

Allowed:
item_list
array

Extra items, always added: { "item_id", "code", "name", "full_price", "quantity", "vat", "currency_id", "note", "note_guest", "erp_id" }. item_id defaults to -1 (custom item), quantity to 1.

item_list
Responses

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