Setup a promotion discount with different NightTypes
All nights/Every night
Set NightType to "EveryNight"
For EveryNight, suggest to provide only 1 value. (will ignore the rest if provide more than 1)
<AmountPerNight NightType="EveryNight">
<Value>110.0</Value>
</AmountPerNight>
Specific night
Set NightType to "SpecificNight"
For SpecificNight, suggest to provide 7 values, starting with the discounted value for the first night till the seventh night. (if provide less than 7 values then the rest will fill with default value: 0.0 / provide more than 7 values is not allowed)
<AmountPerNight NightType="SpecificNight">
<Value>0.0</Value>
<Value>110.0</Value>
<Value>110.0</Value>
<Value>120.0</Value>
<Value>0.0</Value>
<Value>130.0</Value>
<Value>130.0</Value>
</AmountPerNight>
Specific Day of Week
Set NightType to "SpecificDOW"
For SpecificDOW, suggest to provide 7 values, starting with the discounted percentage for Sunday till Saturday. (if provide less than 7 values then the rest will fill with default value: 0.0 / provide more than 7 values is not allowed)
<PercentPerNight NightType="SpecificDOW">
<Value>25.0</Value>
<Value>20.0</Value>
<Value>0.0</Value>
<Value>25.0</Value>
<Value>10.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
</PercentPerNight>
First Night
Set NightType to "FirstNight"
For FirstNight, suggest to provide only 1 value. (will ignore the rest if provide more than 1)
<PercentPerNight NightType="FirstNight">
<Value>110.0</Value>
</PercentPerNight>
Last Night
Set NightType to "LastNight"
For LastNight, suggest to provide only 1 value. (will ignore the rest if provide more than 1)
<AmountPerNight NightType="LastNight">
<Value>110.0</Value>
</AmountPerNight>
Reference
Please refer to Promotion API Definition.
Updated over 1 year ago
