Update

Updates an existing reservation. Only the fields you send are changed.

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

Updates an existing reservation, identified by rent_guid. Only the fields you send are changed. After saving, MyRent sends the reservation notification again.

Headers: user_guid and b2b_guid. See MyRent User API.

Example request body

{
  "rent_guid": "00000000-0000-0000-0000-000000000000",
  "object_id": "2345",
  "price": "500.00"
}

Responses

CodeMeaning
200Reservation saved.
401Missing or wrong user_guid / b2b_guid headers.
500Missing property, the property does not belong to the account, or the reservation could not be saved. The body holds the message.
Body Params
string
required

Reservation GUID, returned by Add.

string
required

MyRent property ID. Must belong to the account and be connected to your partner key. Another ID than the current one moves the reservation to that property.

string

Arrival, yyyy-MM-dd.

string

Departure, yyyy-MM-dd.

string

Arrival time, HH:mm.

string

Departure time, HH:mm.

int32

Number of adults.

int32

Number of children.

int32

Number of young children.

int32

Number of infants.

int32

Number of pets.

double

Total price.

double

Advance payment amount.

string

Advance payment due date, yyyy-MM-dd.

string

Full payment due date, yyyy-MM-dd.

string

MyRent currency ID. 2 is EUR.

double

Exchange rate to the local currency.

double

Discount in percent.

string

MyRent payment method ID.

string

Guest name.

string

Guest e-mail.

string

Guest phone.

string

MyRent country ID.

string

MyRent language ID of the guest.

string

MyRent reservation status ID.

string

MyRent reservation source ID.

string

General note.

string

Short note.

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