Get listing cleaning fee for channel
Changed onReturns the effective cleaning fee for that channel (channel override if present, else listing default). When basic fees are configured for the listing but have neither a listing default nor a channel override, responds 200 without cleaningFee (field omitted). 404 only when the listing has no basic fees configured. There is no markup property — percentage listing markup that applies to cleaning fee is already baked into formula when applicable.
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/basic-fees/listings/{listingId}/channels/{channel}
- AuthAPI key in header authorization
Path parameters
Listing id (for example 5f8d0d55b54764421b7156c9).
OTA (for example airbnb2, bookingCom, homeaway2) or Guesty Distribution Hub (GDH) channel to resolve the listing cleaning fee for. Same values as channel overrides on PUT.
Response
Effective cleaning fee for the listing on the given channel. When basic fees are configured but have no listing default and no override for this channel, cleaningFee is omitted. Percentage listing markup that applies to cleaning fee is already baked into formula when applicable; there is no separate markup property.
Example response
{
"cleaningFee": {
"value": {
"_id": "5f8d0d55b54764421b7156c9",
"multiplier": "PER_STAY",
"formula": 100,
"valueType": "FIXED"
}
}
}Changes
- info
endpoint added
- info