Reservation update

Updates a reservation created through the Customer API. Only the fields you send are changed.

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

Updates a reservation created through the Customer API. Only the fields you send are changed.

Authentication: send the token headers user_guid and token, plus your Customer API keys in the key and authorization headers. See Customer API - Getting started.

The reservation is identified by id_hash from the Reservation add response. Send the same property ID in the URL as when the reservation was created.

Responses

StatusMeaning
200Reservation updated.
403The property is not assigned to your customer account. Body: "Can't touch this!".
401Missing or wrong key / authorization headers. Body: "Sorry: headers are empty. You need keys: key & authorization" or " Keys are wrong ".
404Missing or invalid user_guid or token header. Empty body.
500The reservation was not updated. error explains why, for example missing id hash.
Path Params
string
required

MyRent property ID. The property must be assigned to your customer account.

Body Params
string
required

Reservation id_hash returned by Reservation add.

date

New arrival date, yyyy-MM-dd.

date

New departure date, yyyy-MM-dd.

double

Total reservation price.

double

Advance payment amount.

string

MyRent payment method ID.

string

MyRent reservation status ID.

string

MyRent reservation source ID.

string

Short note.

string

Note for the agency.

string

Cancellation policy text.

string

Guest name.

string

Guest phone.

string

Guest email.

string

MyRent country ID of the guest.

string

Guest city.

string

Guest postal code.

string

Guest address (field name is spelled adress).

Headers
string
required

GUID of the MyRent account you work with.

string
required

API token from Auth API Generate token (valid for 1 hour).

string
required

Customer API key from MyRent.

Responses

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