Update a listing's financial settings
Changed onOnly accessible to Admin or User tokens.
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/financials/listing/{id}
- AuthAPI key in header authorization
Path parameters
Listing id
Request body
Example request
{
"guestsIncludedInRegularFee": 6,
"extraPersonFee": 55.5,
"basePrice": 150,
"basePriceUSD": 100,
"monthlyPriceFactor": 0.8,
"weeklyPriceFactor": 0.95,
"weekendBasePrice": 150,
"securityDepositFee": 100,
"currency": "USD",
"cleaningFee": {
"value": {
"formula": 50
},
"lastUpdatedAt": "2020-12-01",
"airbnb": {
"value": {
"formula": 50
}
},
"rentalsUnited": {
"value": {
"formula": 50
}
},
"homeAway": {
"value": {
"formula": 50
}
},
"expedia": {
"value": {
"formula": 50
}
},
"despegar": {
"value": {
"formula": 50
}
},
"bookingCom": {
"value": {
"formula": 50
}
}
}
}Response
The Updated financials object
Example response
{
"basePrice": 100,
"basePriceUSD": 150,
"monthlyPriceFactor": 0.8,
"weeklyPriceFactor": 0.95,
"weekendBasePrice": 150,
"securityDepositFee": 100,
"cleaningFee": {
"value": {
"formula": 50
},
"lastUpdatedAt": "2020-12-01T12:00:00Z",
"airbnb": {
"value": {
"formula": 50
}
},
"rentalsUnited": {
"value": {
"formula": 50
}
},
"homeAway": {
"value": {
"formula": 50
}
},
"expedia": {
"value": {
"formula": 50
}
},
"despegar": {
"value": {
"formula": 50
}
},
"bookingCom": {
"value": {
"formula": 50
}
}
}
}Changes
- breaking
the
request property format changed from no format tofloat - breaking
the
request property format changed from no format tofloat - breaking
the
///request property format changed from no format tofloat - breaking
the
///request property format changed from no format tofloat - breaking
the
///request property format changed from no format tofloat - breaking
the
///request property format changed from no format tofloat - breaking
the
///request property format changed from no format tofloat - breaking
the
///request property format changed from no format tofloat - breaking
the
//request property format changed from no format tofloat - breaking
the
request property format changed from no format tofloat - breaking
the
request property format changed from no format toint32 - breaking
the
request property format changed from no format tofloat - breaking
the
request property format changed from no format tofloat - breaking
the
request property format changed from no format tofloat - breaking
the
request property format changed from no format tofloat - breaking
the
/response's property format changed fromdatetodate-timefor status - info
api operation id
propertiesFinancialsUpdatewas added
- breaking