post
https://api.my-rent.net/user/price_period_sum
Calculates the total price of a stay for the selected dates and guests.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Calculates the total price of a stay on one property for the selected dates and guests, including automatic items, promo code and your partner price. Check object_free (1 = free) before you offer the stay. b2b_object_price_period is the total with your partner price; b2b_object_price_period_advance is the advance.
Headers: user_guid and b2b_guid. See Web API - Guide.
Example request body
{
"object_id": "2345",
"date_from": "2026-07-01",
"date_until": "2026-07-08",
"adults": 2,
"children": 0,
"pets": 0,
"item_id": "-1",
"customer_id": "-1"
}
Responses
| Code | Meaning |
|---|---|
| 200 | Array with the calculated price. |
| 401 | Missing or wrong b2b_guid / user_guid headers. |
| 500 | The property is not connected to your partner key. |
