This article provides sample flows for retrieving booking pricing information using Preview Price and Calculate Price. Use these flows as a starting point to implement tailored booking experiences.
You can display services and available slots to customers, let them choose their preferred options, then show accurate pricing in your custom checkout before creating the booking.
bookingLineItems with serviceId, numberOfParticipants, and choices for each variant.priceInfo.calculatedPrice for the total cost and priceInfo.bookingLineItems[].pricePerParticipant for individual line item pricing.options.paymentStatus to PAID to update the booking status to CONFIRMED.To show booking pricing in external apps or 3rd-party systems:
booking object.priceInfo.calculatedPrice to display accurate booking costs in your external interface. Make sure to handle deposits and non-numerical prices properly:
priceInfo.deposit is present, show deposit requirements separately.priceInfo.priceDescriptionInfo contains custom pricing text instead of calculatedPrice for services with CUSTOM rate types.