Add (partner key only)

Sends a guest inquiry to a connected MyRent account using only your partner key (b2b_guid).

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

Sends an inquiry (request for a stay) to a MyRent account connected to your partner account, optionally with the requested stay. The agency and the guest are notified by email.

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

The body has two objects: inqury (contact and message, required) and rent (requested stay, optional). Note the spelling inqury. inqury.user_id must be an account from User list and inqury.b2b_id must be your partner ID. contact_country_id is ignored; the guest country is taken from the phone prefix.

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.

Responses

StatusMeaning
200Inquiry saved.
401The b2b_guid header is missing or the partner account is not active.
403The account in inqury.user_id is not connected to your partner account.
500user_id / b2b_id missing, wrong b2b_id, or the inquiry could not be saved. The body is the error text.
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