get
https://api.my-rent.net/b2b_partner/prices_period/
Calculates the total price of a stay in a shared property, with availability and the extra items that apply.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Calculates the total price of a stay in one property, with availability and the extra items that are added automatically.
Authentication: send only the b2b_guid header with your partner GUID. user_guid and token are not used. See B2B API - Guide.
Always send date_from (arrival) and date_until (departure). Without them the server uses a range of about two years, which is not a useful stay.
The response has two lists:
price: one row with the stay price.object_freeisYwhen the property is free for the whole period.price_total=object_period_price+price_itemsand includes your partner markup.price_advanceis the advance payment (advance_percentof the total).items: extra items (fees, services, discounts) for this stay.mandatoryandautoareY/N.
Responses
| Status | Meaning |
|---|---|
200 | Stay price and extra items. |
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". |
