post
https://api.my-rent.net/b2b_partner/rent_add
Creates a reservation in a shared property and returns its key (rent_guid).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Creates a reservation in a property that is shared with your partner account and returns the reservation key rent_guid.
Authentication: send only the b2b_guid header with your partner GUID. user_guid and token are not used. See B2B API - Guide.
Keep the returned rent_guid. You need it to read, change or delete the reservation.
user_idmust be the account that owns the property (see User list and Properties list).- Send
rent_source_idwith the reservation source MyRent created for your partner account. Only reservations with your source can be cancelled with Delete. - Check the price and availability first with Price period.
- Check-in and check-out times default to the property or account settings.
- Extra items that apply automatically (fees, discounts) are added unless you send
item_add=Nor your ownitem_list. - The agency is notified by email. Channel sync runs in the background unless
sync_wait=Y.
Account integrations
Integrations that work with one account (
user_guid+b2b_guidheaders) can use the User API Rent add instead.
Responses
| Status | Meaning |
|---|---|
200 | Reservation created. |
401 | The b2b_guid header is missing, unknown, or the partner account is not active. Plain-text body, e.g. "B2B not found". |
403 | The property is not shared with your partner account. Body: "sorry: no access to this property". |
500 | The reservation was not created. The body is the error text, e.g. "user_id is missing" or "object dont belong to this user!". |
