Order (Total)

Details an Order Drop

An Order (often referred to as a total), represents a purchase order in the platform. In many cases, this essentially refers to a single booking, however it does have the capability to refer to complex checkouts in which multiple bookings are made, as wall as purchasing of other items, such as pre-paid bookings, and use of coupons and vouchers to alter the price.

The order generally has a member/client link who is person who completed the checkout (or that it was done on behalf of) and generally contains a list of the purchase items - even though there is commonly only one purchase item

FieldUsage / Description
total_price{{total.total_price}}
Example: 35.9
price{{total.price}}
Example: 2599
paid{{total.paid}}
Example: 1399
deposit{{total.deposit}}
Example: 1200
tax_payable_on_price{{total.tax_payable_on_price}}
Example: 320
tax_payable_on_deposit{{total.tax_payable_on_deposit}}
Example: 434
tax_payable_on_due_now{{total.tax_payable_on_due_now}}
Example: 999
due_now{{total.due_now}}
Example: 1099
long_id{{total.long_id}}
Example: hm9S8Yx9oiB_AhyVNjc2
id{{total.id}}
Example: 92458394
affiliate_ref{{total.affiliate_ref}}
Example: REFcomd53490
created_at{{total.created_at}}
Example: 2020-10-22 13:09:10
certificate_paid{{total.certificate_paid}}
Example: 5023
payment_type{{total.payment_type}}
Example: online
original_price{{total.original_price}}
last_payment_log{{total.last_payment_log}}
Example: {:success=>1, :response=>"last_response_logged"}
payment_reference{{total.payment_reference}}
Example: A48283dfkslf
external_ref{{total.external_ref}}
Example: EXTREF321
client{{total.client}}
member{{total.member}}
refund{{total.refund}}
company {{order.company.
Link to the company object
app {{order.app.
Link to a Custom Object belonging to an app
items {% for item in order.items %}
Loop around all of the purchase items in the order
printable_items {% for item in order.printable_items %}
Loop around all of the purchase items in the order that are deamed 'printable'
client {{order.client.
Link to the Client Object