Discounts
Get a single discount for an apartment by discount id
get/v2/discount
Request
- Base URL: https://provider-api-sandbox.holidu.com
- URL: https://provider-api-sandbox.holidu.com/v2/discount
- Auth: API key in header api-key
Query parameters
providerApartmentIdstring
providerstring
holiduApartmentIdinteger
discountIdinteger required
Response
Successful retrieval of discount by id
Example response
{
"status": "ACTIVE",
"name": "Pre Season Discount",
"discountType": "EARLY_BIRD",
"discountPercent": 12,
"conditions": {
"daysBeforeCheckIn": 60,
"minStay": 5,
"bookingSeason": [
{
"onlyApplicableFrom": "2020-08-01",
"onlyApplicableUntil": "2021-04-30"
}
],
"travelSeason": [
{
"onlyApplicableFrom": "2020-08-01",
"onlyApplicableUntil": "2021-04-30"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.