Channel Commission
Create channel commission
Changed onCreates a single channel commission for a channel and source.
Omit unitTypeId for an account-level commission. Provide unitTypeId for a listing-level commission.
Listing-level commissions are saved either way, but they are used for reservations only when the listing levelEntityType is UNIT_TYPE (see GET/PUT unit-type/{unitTypeId}/level-configurations). When the level is ACCOUNT, account-level commissions are used instead.
commission, tax, and isPreDeduct are optional. Omit commission or tax to save without them; isPreDeduct defaults to false.
If commissions already exist for the account or listing, this entry is added to them.
post/channel-commissions-v2
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/channel-commissions-v2
- AuthAPI key in header authorization
Request body
Example request
{
"unitTypeId": "df7hf01cnduhdb2125854dj8",
"commission": {
"value": 5,
"of": [
"ACCOMMODATION_FARE",
"CLEANING_FEE",
"LOCAL_TAX",
"DAMAGE_WAIVER"
]
},
"tax": 3,
"channel": "bookingCom",
"source": "bookingCom"
}Response
The created channel commission entry
Example response
{
"_id": "5f3f7b2f5d7b9b001f6f6c9d",
"commission": {
"value": 10,
"of": [
"PAYOUT"
]
},
"tax": 10,
"source": "homeaway2",
"channel": "homeaway2"
}Changes
- info
endpoint added
- info