Open syedsanahassan opened 3 years ago
Hi @syedsanahassan
LOS records are computed based on the other entities that contribute to the price calculation, so in that sense they are read-only. If you want to apply discounts per day then, depending on the complexity of the logic behind the discounts, you could use nightly rate maps or rates rules.
@Azdaroth how can you apply rates for each day with different length of stay? Say for May 10 I want to set the following rats for different length of stays I believe the nightly rate maps doesn't allow it, can you point me to the link that will help us achieve what we are trying to do?
May 10 Length of stay 1 Rate 200 Length of stay 2 Rate 190 Length of stay 3 Rate 180 Length of stay 4 Rate 170 Length of stay 5 Rate 165 Length of stay 6 Rate 163 Length of stay 7 Rate 160 Length of stay 8 Rate 159 Length of stay 9 Rate 157 Length of stay 10 Rate 155 Length of stay 11 Rate 153 Length of stay 12 Rate 152 Length of stay 13 Rate 150 Length of stay 13 Rate 140
@syedsanahassan In such case, you would need to use rates rules, stay_at_least
should probably do the job
@Azdaroth can you give me the link to this particular API exactly with a link?
I am not able to see where you have "stay_at_least" anywhere in the https://developers.bookingsync.com/reference/endpoints/rates_rules/
@syedsanahassan It's a rates rule kind, all available kinds are listed here: https://developers.bookingsync.com/reference/enums/#rates-rules-types
Is their an API point to update rates for different length of stays for each day? I see today you have https://developers.bookingsync.com/reference/endpoints/los_records/ that only searches but is there an end point that we can use to update LOS stays with discount percentages?
Say for each day with different stay length we have % of discounts/premiums then we will just like to push these discount/premiums to you so you can calculate the matrix (point 7 https://developers.bookingsync.com/guides/understanding-los-records/)
Is this possible?