Add

Saves a guest inquiry (booking request) for a MyRent account, optionally with the requested stay.

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

Saves an inquiry (booking request) from a guest for a MyRent account, optionally with the requested stay. The agency and the guest are notified by email.

Authentication: send the user_guid, b2b_guid and token headers. The account must have your partner integration enabled. See Getting started.

The body has two objects: inqury (contact and message, required) and rent (requested stay, optional). Note the spelling inqury. inqury.user_id and inqury.b2b_id must match the accounts of the user_guid and b2b_guid headers.

FieldRequiredDescription
inqury.user_idyesMyRent account that receives the inquiry.
inqury.b2b_idyesYour partner ID.
inqury.contact_telyesGuest phone with country code. Spaces, dashes and brackets are removed; 00 becomes +. The guest country is taken from the phone prefix.
inqury.contact_nameGuest name.
inqury.contact_emailGuest email.
inqury.typeInquiry channel: web_user, wp2, blp, email, tel, spv, wbc, gbe.
inqury.subjectSubject.
inqury.messageGuest message. HTML is removed.
inqury.object_idProperty ID. rent.object_id is used instead when rent is sent.
rent.object_idProperty ID of the requested stay.
rent.date_from, rent.date_untilArrival and departure, yyyy-MM-dd.
rent.guestsNumber of guests. Default 0.
rent.priceOffered price.
rent.currency_idMyRent currency ID. Default 2 (EUR).
rent.noteNote.

Partners that use only b2b_guid send the same body to Add (partner key only).

Responses

StatusMeaning
200Inquiry saved.
204Empty request body.
401Missing or wrong user_guid / b2b_guid, or the account has not enabled your partner integration.
404Missing or invalid token (empty body).
500user_id / b2b_id missing or not matching the headers, or the inquiry could not be saved. The body is the error text.
Query Params
string
Defaults to Y

Y sends a notification email to the agency.

string
Defaults to Y

Y sends a confirmation email to the guest.

Headers
string
required

GUID of the MyRent account you work with.

string
required

Your partner GUID, issued by MyRent.

string
required

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

Responses

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