Channel Commission
Update channel commission
Changed onUpdates an existing channel commission identified by channelCommissionId (the _id from a GET response).
Omit unitTypeId for an account-level commission. Provide unitTypeId for a listing-level commission.
The body must use the same channel and source as the existing entry.
Omit commission or tax to remove them from this entry. isPreDeduct defaults to false when omitted. Listing-level commissions are used for reservations only when levelEntityType is UNIT_TYPE (see GET/PUT unit-type/{unitTypeId}/level-configurations).
patch/channel-commissions-v2/{channelCommissionId}
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/channel-commissions-v2/{channelCommissionId}
- AuthAPI key in header authorization
Path parameters
channelCommissionIdstring required
Example:5f3f7b2f5d7b9b001f6f6c9d
Channel commission ID (for example 5f3f7b2f5d7b9b001f6f6c9d) — the _id of an item from GET /account, GET /unit-type/{unitTypeId}, or GET /unit-type/{unitTypeId}/actual
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 updated channel commission entry
Example response
{
"_id": "5f3f7b2f5d7b9b001f6f6c9d",
"commission": {
"value": 10,
"of": [
"PAYOUT"
]
},
"tax": 10,
"source": "homeaway2",
"channel": "homeaway2"
}Changes
- info
endpoint added
- info