post
https://api.my-rent.net/customer/rent_add/
Creates a reservation for a property assigned to your customer account and returns its id_hash.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Creates a reservation for a property assigned to your customer account. MyRent sends the new-reservation email in the background.
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.
Save id_hash from the response. You need it to update or delete the reservation. Fields that are not sent use the property and account defaults (currency, check-in and check-out time, status).
Responses
| Status | Meaning |
|---|---|
200 | Reservation created. |
403 | The property is not assigned to your customer account. Body: "Can't touch this!". |
401 | Missing or wrong key / authorization headers. Body: "Sorry: headers are empty. You need keys: key & authorization" or " Keys are wrong ". |
404 | Missing or invalid user_guid or token header. Empty body. |
500 | The reservation was not created. error explains why, for example a missing date. |
