Cart
object
Attributes
cart.items
array of Cart items
An array of cart items associated with the cart.
cart.currency
string
The currency code associated with the cart.
cart.custom_data
array of Custom Data
An array of custom data that the creator has chosen to be visible. For use in recommendation templates where the cart is the booking.
cart.gratuity
The gratuity set for the current cart.
cart.subtotal
number
The amount of the cart before any price reductions have been applied. This is returned as a fractional in the sub-unit of the current customer’s currency.
cart.total
number
The amount of the cart after all price reductions have been applied. This is returned as a fractional in the sub-unit of the current customer’s currency.
cart.total_fee
number
The booking fee amount returned as a fractional in the sub-unit of the current customer’s currency. Does not include off-platform fees.
cart.total_off_platform_fee
number
The off-platform booking fee amount returned as a fractional in the sub-unit of the current customer’s currency.
cart.total_price_reduction
number
The total amount of all price reductions from promotions or vouchers. This is returned as a fractional in the sub-unit of the current customer’s currency.
cart.total_deposit
number
The minimum payment possible at checkout if choosing to pay with a deposit. This will be zero if a deposit is not enabled for any of the products in the cart. This is returned as a fractional in the sub-unit of the current customer’s currency.
cart.start_on
timestamp
The earliest start on from all the cart’s line items. Returns nil
if the cart doesn’t have any line items.
cart.end_on
timestamp
The latest end on from all the cart’s line items. Returns nil
if the cart doesn’t have any line items.
cart.first_instalment_amount
number
The amount due for the cart on a payment plan. Returns zero if no payment plan is enabled. This is returned as a fractional in the sub-unit of the current customer’s currency.