v1
latestOpenAPI 3.0.32026-07-2632131.4 MBTaxes
Create tax
Create tax configuration with the provided settings.
post/taxes
Request body
Example request
{
"unitTypeId": "623892d57f4f56afcb25587c",
"appliedOnFees": [
"AF"
],
"appliedByDefaultOnChannels": [
"airbnb2"
],
"conditionalOverrides": {
"rules": [
{
"dateRange": {
"from": "12-31",
"to": "02-01"
}
}
]
},
"channelOverrides": [
{
"isAppliedByDefault": true,
"appliedByDefaultOnChannels": [
"manual"
]
}
]
}Response
The tax has been successfully created.
Example response
{
"_id": "df7hf01cnduhdb2125854dj8",
"unitTypeId": "623892d57f4f56afcb25587c",
"accountId": "623892d57f4f56afcb25587c",
"appliedOnFees": [
"AF"
],
"channelOverrides": [
{
"isAppliedByDefault": true,
"appliedByDefaultOnChannels": [
"manual"
]
}
],
"conditionalOverrides": {
"rules": [
{
"dateRange": {
"from": "12-31",
"to": "02-01"
}
}
]
}
}