A booking policy snapshot is a saved version of a service's booking policy at
the time a booking
(SDK | REST)
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
(SDK | REST).
It’s important to note the following points before starting to code:
- Every booking with corresponding eCommerce order
(SDK | REST)
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 with the Booking Policy Snapshots
API, you can only retrieve policy snapshots. However, you could call Get Booking Policy
(SDK | REST)
to retrieve a service's booking policy just before or after creating a
booking.
- Notify business owners of bookings under outdated policy
(SDK | REST).
- 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
(SDK | REST).