List basic fees for listings
Changed onReturns basic fee configuration (cleaning fee) for the given listing IDs. Listing IDs with no basic fees configured are omitted from the 200 array (not 404). Pass listing IDs as repeated query parameters or a single comma-separated value (maximum 50).
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/basic-fees/listings
- AuthAPI key in header authorization
Query parameters
Listing IDs to fetch (maximum 50 per request; for more, split into batches of up to 50). Accepted as repeated parameters (?listingIds=5f8d0d55b54764421b7156c9&listingIds=5f8d0d55b54764421b7156ca) or a single comma-separated value (?listingIds=5f8d0d55b54764421b7156c9,5f8d0d55b54764421b7156ca). Listing IDs with no basic fees configured are omitted from the 200 array (not 404).
[ "5f8d0d55b54764421b7156c9", "5f8d0d55b54764421b7156ca" ]
Response
Basic fee configurations for the requested listings. Listing IDs with no basic fees configured are omitted.
Example response
[
{
"listingId": "5f8d0d55b54764421b7156c9",
"accountId": "5f8d0d55b54764421b7156c8",
"cleaningFee": {
"value": {
"_id": "5f8d0d55b54764421b7156c9",
"multiplier": "PER_STAY",
"formula": 100,
"valueType": "FIXED"
}
},
"channelConfigurations": [
{
"cleaningFee": {
"value": {
"_id": "5f8d0d55b54764421b7156c9",
"multiplier": "PER_STAY",
"formula": 100,
"valueType": "FIXED"
}
}
}
]
}
]Changes
- info
endpoint added
- info