Extra Costs
Update the extra costs of an apartment
post/v2/apartments/extracosts
Request
- Base URL: https://provider-api-sandbox.holidu.com
- URL: https://provider-api-sandbox.holidu.com/v2/apartments/extracosts
- Auth: API key in header api-key
Query parameters
providerApartmentIdstring
providerstring
holiduApartmentIdinteger
Request body
Example request
[
{
"id": "XYZ_123",
"name": "BEDLINEN",
"basisOfCalculation": "PER_PERSON_PER_NIGHT",
"maximumCount": 1,
"type": "MANDATORY",
"paymentTime": "ONSITE",
"price": {
"type": "PERCENTAGE",
"amount": 90.24,
"currency": "EUR"
},
"condition": {
"seasonApplicable": {
"onlyApplicableFrom": "2020-08-01",
"onlyApplicableUntil": "2021-04-30"
},
"numberOfNights": {
"fromStayLengthInNights": 1,
"toStayLengthInNights": 7
}
}
}
]Response
Successful update of extra costs for apartment
Example response
[
{
"id": "XYZ_123",
"name": "BEDLINEN",
"basisOfCalculation": "PER_PERSON_PER_NIGHT",
"maximumCount": 1,
"type": "MANDATORY",
"paymentTime": "ONSITE",
"price": {
"type": "PERCENTAGE",
"amount": 90.24,
"currency": "EUR"
},
"condition": {
"seasonApplicable": {
"onlyApplicableFrom": "2020-08-01",
"onlyApplicableUntil": "2021-04-30"
},
"numberOfNights": {
"fromStayLengthInNights": 1,
"toStayLengthInNights": 7
}
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.