Add

Creates a reservation in a shared property and returns its key (rent_guid).

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

Creates a reservation in a property that is shared with your partner account and returns the reservation key rent_guid.

Authentication: send only the b2b_guid header with your partner GUID. user_guid and token are not used. See B2B API - Guide.

Keep the returned rent_guid. You need it to read, change or delete the reservation.

  • user_id must be the account that owns the property (see User list and Properties list).
  • Send rent_source_id with the reservation source MyRent created for your partner account. Only reservations with your source can be cancelled with Delete.
  • Check the price and availability first with Price period.
  • Check-in and check-out times default to the property or account settings.
  • Extra items that apply automatically (fees, discounts) are added unless you send item_add = N or your own item_list.
  • The agency is notified by email. Channel sync runs in the background unless sync_wait = Y.

📘

Account integrations

Integrations that work with one account (user_guid + b2b_guid headers) can use the User API Rent add instead.

Responses

StatusMeaning
200Reservation created.
401The b2b_guid header is missing, unknown, or the partner account is not active. Plain-text body, e.g. "B2B not found".
403The property is not shared with your partner account. Body: "sorry: no access to this property".
500The reservation was not created. The body is the error text, e.g. "user_id is missing" or "object dont belong to this user!".
Body Params
string
required

MyRent property ID. Must be shared with your partner account.

string
required

MyRent account that owns the property.

date
required

Arrival date, yyyy-MM-dd.

date
required

Departure date, yyyy-MM-dd.

string

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

string

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

int32

Number of adults.

int32

Number of children.

int32

Number of young children.

int32

Number of infants.

int32

Number of pets.

double

Total price of the reservation.

string
Defaults to 2

MyRent currency ID, 2 = EUR. See Currencies.

double
Defaults to 1

Exchange rate to the account currency. Use 1 for the local currency.

double

Advance payment amount.

double

Discount.

string

Promo code. MyRent adds the matching discount automatically.

string
Defaults to Y

Add extra items that apply automatically. Ignored when item_list is sent.

item_list
array

Your own list of extra items instead of the automatic ones.

item_list
string

Name of the guest responsible for the reservation.

string

Guest email.

string

Guest phone number with country code.

string

MyRent country ID of the guest, e.g. 99 = Croatia. See Countries.

string

Guest street address (field name is spelled adress).

string

Guest postal code.

string

Guest city.

string

Your reservation ID (external ID).

string

Another external reference.

string

MyRent reservation source ID set up for your partner account.

string

MyRent reservation status ID. Default: from the reservation source settings.

string

MyRent payment method ID.

string

General note.

string

Note for the agency.

string

Short note.

string

Cancellation policy text. Replaced by the property cancellation policy when one is set.

string
Defaults to N

Y waits until post-processing is finished before the response is returned.

Headers
string
required

Your partner GUID, issued by MyRent.

Responses

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