Hotels com Provider

FREEMIUM
Por Tipsters CO | Atualizado 7 days ago | Travel
Popularidade

9.9 / 10

Latência

1,567ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

hotel pricing including tax

Rapid account: Sbp 8985
sbp8985
3 years ago

Is there a way to pull out the pricing for hotels including the tax?

I am using the endpoint for hotels/booking-details

“featuredPrice”:{
“beforePriceText”:“Lowest price”,
“afterPriceText”:"",
“pricingAvailability”:“available on 08/05/21”,
“pricingTooltip”:“Price may be available on other dates”,
“currentPrice”:{
“formatted”:"$103",
“plain”:103.0
},
“taxInclusiveFormatting”:false,
“bookNowButton”:false

Rapid account: Sbp 8985
sbp8985 Commented 3 years ago

thanks!

Rapid account: Tipsters
tipsters Commented 3 years ago

I checked the prices are correct.

Rapid account: Tipsters
tipsters Commented 3 years ago
    "price": {
          "current": "£438",
          "unformattedCurrent": 438.0,
          "fullyBundledPricePerStay": "total £460"
        },
        "payment": {
					
					
	Api exact =)

You will remove children_ages: ‘0,0’

Rapid account: Sbp 8985
sbp8985 Commented 3 years ago

The hotels.com price shows as £460

I am not sure where the api is pulling out the £2076 from?

Rapid account: Sbp 8985
sbp8985 Commented 3 years ago

So I have just tested this with the endpoint for hotels/booking-details

checkout_date: '2021-08-10',
hotel_id: '624374', 
currency: 'GBP',
locale: 'en_US',
checkin_date: '2021-08-09',
adults_number: '2',
children_ages: '0,0'
	
	output:

“featuredPrice”:{
“currentPrice”:{
“formatted”:“£2,076”,
“plain”:2076.0
},
“taxInclusiveFormatting”:false,
“bookNowButton”:true,
“fullyBundledPricePerStay”:“total £2,180 for 1 room, 4 guests”

		Hotels.com pricing is completely different: 
		https://uk.hotels.com/ho624374/?q-check-in=2021-08-09&q-check-out=2021-08-10&q-rooms=1&q-room-0-adults=2&q-room-0-children=0&sort-order=BEST_SELLER
Rapid account: Tipsters
tipsters Commented 3 years ago

Hi. But taxes depend on many factors. Most likely nothing. Can you confirm that there are tax-inclusive prices on the site?

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários