post
https://api.my-rent.net/b2b/inquery_add
Saves an inquiry (booking request) from a guest, optionally with the requested stay.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Saves an inquiry (booking request) from a guest for the account, optionally with the requested stay.
inqury.user_id and inqury.b2b_id must match the accounts of the user_guid and b2b_guid headers. The phone number is normalized to international format (00 becomes +), and the guest country is taken from the phone prefix. HTML is removed from the message.
inqury.type is the inquiry channel: web_user, wp2, blp, email, tel, spv, wbc or gbe.
Headers: user_guid, b2b_guid and token. See MyRent User API.
Example request body
{
"inqury": {
"user_id": "100",
"b2b_id": "200",
"contact_name": "Guest Name",
"contact_tel": "+385 91 000 0000",
"contact_email": "[email protected]",
"type": "wp2",
"message": "Is the apartment free for these dates?",
"object_id": "2345"
},
"rent": {
"object_id": "2345",
"date_from": "2026-12-01",
"date_until": "2026-12-05",
"price": 480.00,
"guests": 2,
"note": "Late arrival"
}
}
Responses
| Code | Meaning |
|---|---|
| 200 | Inquiry saved. |
| 204 | Empty request body. |
| 404 | Missing or invalid user_guid / token. |
| 500 | Missing user_id / b2b_id, they do not match the headers, or the inquiry could not be saved. The body holds the message. |
