With the Wix Bookings Pricing API, you can preview and calculate the price of a
booking
(SDK | REST).
- Preview Price
(SDK | REST):
Lets you retrieve information about how much a customer would have to pay for
a booking's line items before the actual booking has been created.
- Calculate Price
(SDK | REST):
Lets you determine the price of a booking after it has been created.
Wix Bookings allows business owners to offer their services
(SDK | REST)
for a fixed price, for free, or a varied price based on which variant
(SDK | REST)
the customer signs up for. Learn more about service payments
(SDK | REST).
It’s important to note the following points before starting to code:
- Wix Bookings
must be installed on a site before you can use the Pricing API.
- You can only preview the price for line items belonging to the same
service. You can't use Preview Price
(SDK | REST)
if line items belong to different services.
- If the business uses the Wix Bookings Pricing Integration service plugin
(REST),
Preview Price
(SDK | REST)
calls fail.
- Currently, app developers can't check whether a specific site is using the
Wix Bookings Pricing Integration service plugin
(REST).
- Varied Pricing: A pricing model that adjusts the cost of a service based
on specific factors, such as the type of equipment booked or the customer's
age. For example, seniors may receive a discount, while the business might
charge more if its most experienced staff member provides the service.
- Booking line item: A booking consists of separate line items for each
service variant. For example, in a booking where a customer signs up
for 1 child and 3 adults, there are two booking line items: one for the
variant
child
with {"numberOfParticipants": 1}
and another for the
variant adult
with {"numberOfParticipants": 3}
.
For a comprehensive glossary of Wix Bookings terms, see Terminology
(SDK | REST).
- Related APIs:
- Services V2
(SDK | REST)
- Service Options and Variants API
(SDK | REST)
- Wix Bookings Pricing Integration Service Plugin
(REST)
- How business owners can: