About the Booking Policy Snapshots API

A booking policy snapshot is a saved version of a service's booking policy at the time a booking is created. This is important because a policy may change after a customer books the service, and having a snapshot preserves the original terms.

The Booking Policy Snapshots API allows you to retrieve policy snapshots.

For managing cancellation fees, you may also want to explore the Booking Fees API.

Before You Begin

It’s important to note the following points before starting to code:

  • Every booking with corresponding eCommerce order has exactly one policy snapshot. Bookings without a related eCommerce order don't have a policy snapshot.
  • You can't create a booking policy snapshot using this service, you can only retrieve policy snapshots. However, you could use Get Policy to retrieve a service's booking policy just before or after creating a booking.

Use Cases

Terminology

  • Booking policy: Rules set by the business owner regarding the booking and cancellation of a service. Policies may include advance booking restrictions, cancellation deadlines, associated fees, and the maximum number of participants allowed.
  • Booking policy snapshot: The version of a service's booking policy saved at the time a booking is created. Snapshots preserve the original terms, which is useful if policies change after a booking is made.

For a comprehensive glossary of Wix Bookings terms, see Terminology.

Did this help?