Skip to main content
Twilio Variables

Twilio variables help you customise Twilio templates with reusable Ventrata content.

Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated over 5 months ago

Supplier

  • {{supplier.telephone}} - the phone number set up in supplier settings: tx/ticket/group

  • {{supplier.email}} - the email address set up in supplier settings: tx/ticket/group

  • {{supplier.address}} - the supplier address up in supplier settings: tx/ticket/group

  • {{supplier.name}} - identifies the supplier account and destination


Booking Details

  • {{booking.code}} - for imported booking codes: tx/ticket/group

  • {{booking.commission}} - shows the commission on a booking

  • {{booking.created_at}} - shows when the booking was created in dd/mm/yyyy format tx/ticket/group

  • {{booking.created_at_dow}} - shows the day of the week of booking creation tx/ticket/group

  • {{booking.created_at_time}} - shows the time of booking creation tx/ticket/group

  • {{booking.date}} - the travel time ticket/group

  • {{booking.pickup_time}} - pickup time (for bookings with pickups) ticket/group

  • {{booking.pickup_requested}} - if the customer requested a pickup

  • {{booking.reference}} - Ventrata generated unique identifier for the booking

  • {{booking.supplier_reference}} - Ventrata generated unique identifier for the booking supplier

  • {{booking.reseller_reference}} - Ventrata generated unique identifier for the booking reseller

  • {{booking.status}} - status of the booking in Ventrata

  • {{booking.size}} - for one ticket per booking, it will print how many adults, children, etc

  • {{booking.tax}} - if the tax rate is set on the product, it will print the tax added

  • {{booking.tickets}} - lists the number of tickets in the booking by tier

  • {{booking.tiers}} - identifies the ticket tier

  • {{booking.package}} - the name of the package that was booked

  • {{booking.package_option}} - the name of the option of package that was booked

  • {{booking.primary}} - tells you whether it is the primary product (the first one that was added) in an order (yes / no)

  • {{booking.pass}} - if the product is inside a pass this returns the reference of the pass

  • {{booking.total}} - the total price for a booking

  • {{booking.total_no_tax}} - shows booking total without tax applied

  • {{booking.cost}} - shows the cost of the booking

  • {{booking.margin}} - shows the margin on a booking

  • {{booking.card_total}} - shows total value according to used payment form

  • {{booking.cash_total}} - shows total value according to used payment form

  • {{booking.voucher_total}} - shows total value according to used payment form

  • {{booking.other_total}} - shows total value according to used payment form

  • {{booking.public_notes}} - notes added by concierge / reseller agents when booking on behalf of a client (eg a vegetarian option for lunch)

  • {{booking.private_notes}} - private notes added by concierge / reseller agents

  • {{booking.pickup_notes}} - notes regarding pickup

  • {{booking.notices}} - shows booking notices (set in a dashboard)

  • {{booking.redeemed_at}} - shows the date of redemption in the dd/mm/yyyy format

  • {{booking.redeemed_at_dow}} - shows which day of the week was booking redeemed

  • {{booking.redeemed_at_time}} - shows the time of redemption

  • {{booking.discount}} - shows discount on a booking

  • {{booking.charity_roundup}} - shows the charity roundup

  • {{booking.meeting_point}} - shows the meeting point

  • {{booking.meeting_time}} - shows the meeting time

  • {{booking.valid_until_date}} - valid until a date

  • {{booking.valid_from_date}} - valid from a date

  • {{booking.valid_until_time}} - valid until which time

  • {{booking.valid_from_time}} - valid from which time

  • {{booking.valid_until_dow}} - valid until a day of a week

  • {{booking.valid_from_dow}} - valid from a day of a week

  • {{booking.updated_at}} - shows when the booking was updated in dd/mm/yyyy format

  • {{booking.cancelled_at}} - shows when the booking was cancelled in dd/mm/yyyy format

  • {{booking.not_redeemed_warning}} - this should only come up on tickets, so that the drivers/sellers know that they shouldn’t accept anyone boarding with this ticket as it needs to be firstly redeemed or it may be a discarded redeemed ticket and the ticket has already been redeemed.

  • {{booking.expires_on}} - indicates when the booking expires

  • {{booking.upgrades}} - shows booking upgrades (extras)

  • {{booking.purchases}} - shows booking purchases

  • {{booking.resource_allocations}} - shows resource allocations

  • {{booking.duration}} - duration of the booking taken from product details

  • {{booking.meeting_point_coordinates}} - latitude and longitude of the meeting point

  • {{booking.pdf_url}} - voucher URL to a PDF file

  • {{booking.pkpass_url}} - voucher URL to a PKPASS file, which can be added to a digital wallet

  • {{product.operator_mobile}} - phone number of the operator

  • {{booking.tour_group}} - shows the Tour Group set up on the product

  • {{booking.opening_hours}} - opening hours of the product

  • {{booking.dropoff_time}} - shows the dropoff time set up in product details

  • {{booking.units}} - shows the list of booked units

  • {{booking.open_dated}} - shows whether the booking is open dated or not

  • {{booking.valid_from}} - shows the date since when the booking is valid

  • {{booking.active_from_iso8601}} - shows the date since when the booking is valid in YYYY-MM-DD format

  • {{booking.active_to_iso8601}} - shows the date when the booking expires in YYYY-MM-DD format

  • {{booking.question_answers}} - shows the answer for questions associated with the booking


Customer

  • {{customer.full_name}} - the name and surname of customer

  • {{customer.first_name}} - the first name of customer

  • {{customer.last_name}} - the last name of customer

  • {{customer.email}} - the email address of customer

  • {{customer.mobile}} - the phone number of customer

  • {{customer.company}} - the company of customer

  • {{customer.notes}} - the notes of customer

  • {{customer.language}} - the language of customer

  • {{customer.country}} - the country of customer

  • {{customer.address}} - the address of customer

  • {{customer.postal_code}} - shows the postal code of the customer

  • {{customer.tax_id}} - shows customer’s tax ID

  • {{customer.tax_office}} - shows the customer tax office


Pickups

  • {{dropoff.name}} - name of the dropoff

  • {{dropoff.instructions}} - instructions for a dropoff

  • {{pickup.name}} - name of the pickup

  • {{pickup.address}} - address of a pickup

  • {{pickup.directions}} - directions of a pickup

  • {{hotel.name}} - the hotel pickup name


Product

(You can add a product logo)

  • {{product.name}} - product name

  • {{product.code}} - product code

  • {{product.caption}} - a short one sentence marketing caption; scroll down the product page to locate the appropriate text fields

  • {{product.description}} - a short one paragraph description; scroll down the product page to locate the appropriate text fields

  • {{product.destination}} - destination to which product belongs to

  • {{product.inclusions}} - product inclusions

  • {{option.name}} - option name

  • {{option.description}} - brief summary of the option

  • {{option.code}} - code of the option

  • {{option.language}} - language of the option

  • {{option.meeting_point}} - meeting point of the option

  • {{option.meeting_time}} - meeting time of the option

  • {{product.booking_terms}} - booking terms of the product; scroll down the product page to locate the appropriate text fields

  • {{product.usage_instructions}} - instructions on the correct usage of the product; scroll down the product page to locate the appropriate text fields

  • {{product.redemption_instructions}} - instructions to redeem a pass for the product; scroll down the product page to locate the appropriate text fields

  • {{product.meeting_point}} - meeting point of the product

  • {{product.meeting_time}} - meeting time of the product

  • {{tour.time}} - the time of the tour

  • {{tour.code}} - unique name or identifier of the tour, for example, flight number

  • {{date}} - day and date of the tour

  • {{tour.meeting_point}} - meeting point of the tour

  • {{tour.meeting_time}} - meeting time of the tour

  • {{product.supplier_company}} - the supplier name

  • {{product.supplier_contact}} - the supplier contact

  • {{product.supplier_email}} - the supplier email

  • {{product.supplier_address}} - the supplier address

  • {{product.operator}} - the operator name

  • {{product.operator_contact}} - the operator contact

  • {{product.operator_email}} - the operator email

  • {{product.operator_address}} - the operator address

  • {{product.cancellation_policy}} - the cancellation policy of the product; scroll down the product page to locate the appropriate text fields

  • {{combination.product}} - if the product was purchased with a combination, the name the other product it was purchased with

  • {{combination.discount}} - indicates the discount used for a product in combination

  • {{promotion.name}} - name of the applied promotion

  • {{promotion.code}} - code of the applied promotion

  • {{promotion.discount}} - discounted value after the promotion

  • {{option.from_point}} - Point-to-Point start location

  • {{option.to_point}} - Point-to-Point end location

  • {{option.from_point_group}} - group (zone) of the Point-to-Point start location

  • {{option.to_point_group}} - group (zone) of the Point-to-Point end location


Item

  • {{item.name}} - item name

  • {{item.code}} - item code

  • {{item.destination}} - item destination

  • {{item.description}} - item description

  • {{item.category}} - item category

  • {{item.tax_label}} - item tax label

  • {{item.tax_rate}} - item tax rate


Ticket

  • {{ticket.code}} - for assigned imported barcodes

  • {{ticket.price}} - the price per ticket

  • {{ticket.cost}} - the cost per ticket

  • {{ticket.margin}} - the margin per ticket

  • {{ticket.price_no_tax}} - the price per ticket without tax

  • {{ticket.total}} - the total price per ticket

  • {{ticket.total_no_tax}} - the total price per ticket without tax

  • {{ticket.tax}} - tax per ticket

  • {{ticket.card_total}} - how much was paid by card per ticket

  • {{ticket.cash_total}} - how much was paid in cash per ticket

  • {{ticket.voucher_total}} - how much was paid by voucher per ticket

  • {{ticket.other_total}} - how much was paid by “other” method of payment per ticket

  • {{ticket.reference}} - a Ventrata generated identifier for the ticket

  • {{ticket.commission}} - shows sales commission on a ticket

  • {{ticket.discount}} - shows discount on a ticket

  • {{ticket.tier}} - ticket type (overwrites with name given)

  • {{ticket.upgrades}} - if a product has associated upgrades and it has been upgraded, this will print details of the upgrade

  • {{ticket.valid_from_dow}} - valid from a day of the week (eg Monday)

  • {{ticket.valid_from_time}} - valid from which time

  • {{ticket.valid_from_date}} - valid from which date

  • {{ticket.valid_until_dow}} - valid until a day of the week (eg Wednesday)

  • {{ticket.valid_until_date}} - valid until a date

  • {{ticket.valid_until_time}} - valid until a tme

  • {{ticket.updated_at}} - shows in the date in dd/mm/yyyy format

  • {{ticket.created_at}} - shows in the date in dd/mm/yyyy format

  • {{ticket.size}} - number of pax

  • {{ticket.tickets}} - shows tier labels of product in booking

  • {{ticket.unit}} - shows the unit associated with the ticket


Order

  • {{order.code}} - for imported orders

  • {{order.balance}} - shows outstanding balance of an order

  • {{order.currency}} - shows order currency

  • {{order.notes}} - displays notes added during checkout

  • {{order.reference}} - a Ventrata generated identifier for the order

  • {{order.source}} - the source the order was created from (eg web, concierge, terminal, etc)

  • {{order.total}} - the total order

  • {{order.test}} - shows whether it’s test order

  • {{order.tax}} - shows tax related to order

  • {{order.surcharge}} - shows surcharge fee

  • {{order.paid}} - shows how much was paid for an order

  • {{order.latitude}} - coordinates of where the order was made on street

  • {{order.longitude}} - coordinates of where the order was made on street

  • {{order.ip_address}} - shows IP address when booking via web

  • {{order.user_agent}} - shows client’s browser

  • {{order.created_at}} - shows the date in dd/mm/yyyy format

  • {{order.confirmed_at}} - shows the date in dd/mm/yyyy format

  • {{order.cancelled_at}} - shows the date in dd/mm/yyyy format

  • {{order.voucher_code}} - shows the voucher code used to purchase the order

  • {{order.shift_sequence}} - shows the sequence of the shift where the order was created


Gift

  • {{gift.amount}} - the actual value of a gift voucher

  • {{gift.code}} - gift reference

  • {{gift.message}} - message from the purchaser

  • {{recipient.full_name}} - to whom is the gift voucher addressed to

  • {{customer.full_name}} - purchaser of the gift voucher

  • {{gift.reference}} - shows the reference number of the gift voucher

  • {{gift.instructions}} - shows the instructions associated with the gift voucher

  • {{gift.expires_at}} - shows the date when gift voucher expires

  • {{recipient.first_name}} - shows first name of the gift voucher recipient

  • {{recipient.last_name}} - shows last name of the gift voucher recipient

  • {{recipient.email}} - shows email of the gift voucher recipient

  • {{recipient.mobile}} - shows phone number of the gift voucher recipient

  • {{recipient.language}} - shows language of the gift voucher recipient

  • {{recipient.country}} - shows country of the gift voucher recipient

  • {{recipient.address}} - shows address of the gift voucher recipient


Seller

  • {{seller.name}} - the name of seller (for direct sales)

  • {{user.name}} - the name of the Ventrata user (for backoffice sales)

  • {{terminal.name}} - name of terminal

  • {{location.name}} - name of seller’s location

  • {{shift.date}} - date of shift

  • {{shift.started_at}} - when the shift started

  • {{shift.ended_at}} - when the shift ended


Reseller

  • {{reseller.name}} - the reseller name

  • {{reseller.code}} - the reseller code

  • {{reseller.band}} - band assigned to a reseller

  • {{reseller.address}} - address of a reseller

  • {{reseller.directions}} - directions of a reseller

  • {{agent.name}} - the name of the concierge agent (for reseller sales)

  • {{location.name}} - the reseller outlet name

  • {{voucher.tier}} - the ticket tier specified on a voucher

  • {{voucher.unit}} - shows the ticket unit associated with the reseller voucher

  • {{voucher.quantity}} - the number of tickets specified on a voucher

  • {{outlet.name}} - the reseller sub brand


Purchase

  • {{purchase.reference}} - reference number of a purchase

  • {{purchase.total}} - total price of a purchase

  • {{purchase.total_no_tax}} - price of a purchase without tax

  • {{purchase.tax}} - tax of a purchase

  • {{purchase.updated_at}} the time the purchase was updated

  • {{purchase.created_at}} - the time the purchase was created

  • {{purchase.quantity}} - count of purchases


Other

  • {{checkout.name}} - the name of the web checkout, where the booking was made


Did this answer your question?