Calculate Price Detailed

Calculates the price of a stay with all price parts in detail: sum, items and price per day.

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

Calculates the price of a stay like Calculate Price, with all price parts in detail. The response row has the totals and these JSON strings: parms (the request), sum (the same totals as Calculate Price), items (automatic items such as cleaning or tourist tax), item_special, days (price per day) and property (basic property data).

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

CodeMeaning
200Array with the calculated price.
401Missing or wrong b2b_guid / user_guid headers.
500The property is not connected to your partner key.
Body Params
int32
required

MyRent property ID. Must be connected to your partner key.

string
required

Arrival, yyyy-MM-dd.

string
required

Departure, yyyy-MM-dd.

int32
Defaults to 1

Number of adults.

int32
Defaults to 0

Number of children.

int32
Defaults to 0

Number of pets.

int32
Defaults to -1

Price item (unit type). -1 is the main price; send -1 unless MyRent told you otherwise.

int32
Defaults to -1

MyRent customer ID for customer prices. Send -1 for normal prices.

string

Promo code.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain