POST

Preview Price


Previews the base price for a set of line items belonging to the same service, before a booking is created.

The response includes each line item's individual preview price and the total of all line item preview prices. In most situations, the preview price matches the final booking price when using the same parameters. The final amount may differ due to discounts, booking fees, payment processing charges, or service price changes made by the business between preview and booking creation.

Preview Price fails if:

To retrieve the price of an existing booking, call Calculate Price instead.

Permissions
Read Bookings - Including Participants
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/bookings/v2/pricing/v2/pricing/preview

Errors
400Invalid Argument

There are 2 errors with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?