Precios

Los precios para cálculos del total previo a la compra se cargan con el enpoint de GET /api/tours/{slug} y muestran los siguientes datos:

  • "dolar_prices_national_adult": 0
  • "dolar_prices_national_children": 0
  • "dolar_prices_foreigner_adult": 0
  • "dolar_prices_foreigner_children": 0

Sobre National y Foreigner

Los precios national son precios que aplican si el comprador tiene la misma nacionalidad del origen del tour. Ejm: Un tour de Perú comprado por un peruana aplicará los precios national

Los precios foreigner aplican para pasajeros de otra nacionalidad ajena a la del tour.

Sobre Precio Adulto, Niño, Hab. doble, Hab. simple, etc

1.Las terminaciones _adult son para pasajeros Adultos.

Si has_housing es true se refiere a hab. matrimonial, triple o doble (en lugar de adultos), además se debería validar una cantidad minimas de pasajeros a 2

2.Las terminaciones _children son para pasajeros Niños en el caso de que has_housing sea false.

Si has_housing es true usar como nomenclatura Hab. simple.

Ejemplos de Precios

Un ejemplo de has_housing=true lo puedes ver aqui: 3d-2n-cajamarca-de-sanacion

Un ejemplo de has_housing=false lo puedes ver aqui: full-day-completo-ica-paracas-sabados-y-domingos

Precios por temporada y cantidad

Tanto sus precios por adulto y niño son S/. 100 para el ejemplo (nacional y extranjero)

Caso 1 (Por temporada): Si elijo 1 pasajero adulto (precio normal 100 soles) para el 31 de Enero, que tiene un descuento de 10% pues el precio final es de S/ 90

Caso 2 (Por cantidad): Se reserva para 5 adultos (precio normal 100 por pasajero) ... por lo cual se aplica un descuento de S/ 10 por pasajero ... es decir tendrian un descuento de S/50 sobre el precio final. Quedando finalmente el total en S/ 450

Caso 3 (Ambos): Una reserva de 5 adultos para el 31 de Enero. Aplican dos descuentos: Por cantidad de 5 pasajeros con descuento de S/10 y el 10% de descuento por la fecha. Primero aplicamos el descuento por cantidad, ose (S/100 por pasajero x 5 pasajeros) = S/500 … el descuento por cantiad es S/10 x 5 pasajeros, osea S/50 … lo que da un primer total de S/ 450. Luego a ese S/450 le aplicamos el 10% por temporada… quedando un total final a pagar de S/405

Esos serian los 3 casos en sí. El caso 3 es el mas importante ya que cruza los dos descuentos. Ojo que tambien tenemos incrementos por temporada, aplican las mismas reglas que el descuento por temporada pero con incremento

Prices

Prices for calculations of the total prior to purchase are charged with the enpoint of GET /api/tours/{slug} and show the following data:

  • "dolar_prices_national_adult": 0
  • "dolar_prices_national_children": 0
  • "dolar_prices_foreigner_adult": 0
  • "dolar_prices_foreigner_children": 0

About National and Foreigner

Prices national They are prices that apply if the buyer has the same nationality as the origin of the tour. Ex: A tour of Peru bought by a Peruvian will apply the prices national

Prices foreigner apply for passengers of another nationality other than that of the tour.

Over Price Adult, Child, Double room, Single room, etc.

1.The _adult ending are for Adult passengers.

If has_housing is true refers to hab. double, triple or double (instead of adults), in addition a minimum number of passengers should be validated to 2

2.The _children ending are for Children passengers in the event that has_housing it is false.

If has_housing is true use as nomenclature Simple room.

Pricing Examples

An example of has_housing=true you can see it here: 3d-2n-cajamarca-healing

Un ejemplo de has_housing=false lo puedes ver aqui: full-day-full-ica-paracas-saturdays-and-sundays

Prices by season and quantity

Both its prices per adult and child are S /. 100 for the example (domestic and foreign)

Case 1 (By season): If I choose 1 adult passenger (normal price 100 soles) for January 31, which has a discount of 10% since the final price is S / 90

Case 2 (By quantity): It is reserved for 5 adults (normal price 100 per passenger) ... for which a discount of S / 10 per passenger is applied ... that is, they would have a discount of S / 50 on the final price. Finally, the total is S / 450

Case 3 (Both): A reservation of 5 adults for January 31st. Two discounts apply: For the quantity of 5 passengers with a discount of S / 10 and a 10% discount for the date. First we apply the discount by quantity, that is (S / 100 per passenger x 5 passengers) = S / 500… the discount per quantity is S / 10 x 5 passengers, that is, S / 50… which gives a first total of S / 450 Then to that S / 450 we apply 10% per season ... leaving a final total to pay of S / 405

Those would be the 3 cases themselves. Case 3 is the most important as it crosses the two discounts. Note that we also have increases per season, the same rules apply as the discount per season but with an increase

Guía para reserva un tour

  • 1. Crear un carrito

    Crear un carrito vacio u obtener uno previamente creado: Shopping Cart

  • 2. Agregar una reserva al carrito

    Crearlo por (POST method): Reservation

    Es necesario el id del tour a reservar

    La fecha de partida la debes contrastar con el stock disponible del Tour

    El pais de Residencia lo puedes obtener de Countries

    Puedes agregar una o mas reservas al carrito.

  • 3. Datos del comprador

    El primer paso de confirmación de compra es agregar los datos del comprador: Billing data

  • 4. Confirmar compra

    Finalmente se debe confirmar la compra como pagada via PATCH en Pay Order

Guide to book a tour

  • 1. Create a Shopping Cart

    Create an empty cart or get one previously created: Shopping Cart

  • 2. Add a reservation to the Shopping Cart

    Create it by (POST method): Reservation

    You need the tour id to reserve

    The departure date must be contrasted with the available stock of the Tour

    The country of residence can be obtained from Countries

    You can add one or more reservations to the Shopping Cart.

  • 3. Billing Data

    The first step of purchase confirmation is to add the billing data: Billing data

  • 4. Confirm purchase

    Finally, the purchase must be confirmed as paid via PATCH in Pay Order