> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Booking Policy Snapshots # Type: Booking Policy Snapshot Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policy-snapshots/booking-policy-snapshot-object.md ## Description: The `bookingPolicySnapshot` object is the version of a service's booking policy at the time a booking is created. This allows you for example to charge customers the correct cancellation fee even after a service's cancellation policy has been updated. ## Schema: ```json Type: Booking Policy Snapshot Object | type: BookingPolicySnapshot Description: The `bookingPolicySnapshot` object is the version of a service's booking policy at the time a booking is created. This allows you for example to charge customers the correct cancellation fee even after a service's cancellation policy has been updated. - name: id | type: string | description: Booking policy snapshot ID. - name: value | type: string | description: - name: bookingId | type: string | description: ID of the booking that's associated with this policy snapshot. - name: policy | type: BookingPolicy | description: Snapshot of the [booking policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction.md). at the time the corresponding booking was created. - name: id | type: string | description: Booking policy ID. - name: revision | type: string | description: Revision number, which increments by 1 each time the booking policy is updated. To prevent conflicting changes, the current `revision` must be passed when updating the booking policy. - name: value | type: string | description: - name: createdDate | type: string | description: Date and time the booking policy was created. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: updatedDate | type: string | description: Date and time the booking policy was updated. - name: name | type: string | description: Name of the booking policy. - name: customPolicyDescription | type: PolicyDescription | description: Custom description for the booking policy and whether the booking policy is displayed to the participant. - name: enabled | type: boolean | description: Whether the description is displayed to the participant. `true` means the description is displayed. Default: `false` - name: description | type: string | description: Description of the booking policy. Default: Empty Max length: 2500 characters - name: descriptionTranslated | type: string | description: Description of the translated booking policy. Default: Empty Max length: 2500 characters - name: default | type: boolean | description: Whether the booking policy is the default. - name: value | type: boolean | description: - name: cancellationPolicy | type: CancellationPolicy | description: Rule for canceling a booking. - name: enabled | type: boolean | description: Whether customers can cancel the booking. `true` means customers can cancel the booking. Default: `false` - name: limitLatestCancellation | type: boolean | description: Whether there's a limit on the latest cancellation time. `false` means customers can cancel the booking until the last minute before the course or session starts. Default: `false` - name: latestCancellationInMinutes | type: number | description: Minimum number of minutes before the start of the session customers can cancel. For courses, this refers to the start of the first course session. Default: `1440` minutes (1 day) Min: `1` minute - name: reschedulePolicy | type: ReschedulePolicy | description: Rule for rescheduling a booking. - name: enabled | type: boolean | description: Whether customers can reschedule a booking for an appointment-based service. `true` means customers can reschedule. Default: `false` - name: limitLatestReschedule | type: boolean | description: Whether there's a limit on the latest supported rescheduling time. `false` means customers can reschedule until the last minute before the session start. Default: `false` - name: latestRescheduleInMinutes | type: number | description: Minimum number of minutes before the session start session customers can reschedule their booking. Default: `1440` minutes (1 day) Min: `1` minute - name: cancellationFeePolicy | type: CancellationFeePolicy | description: Rules for cancellation fees. - name: enabled | type: boolean | description: Whether customers must pay a cancellation fee when canceling a booking. Default: `false` - name: cancellationWindows | type: Array | description: Time windows relative to the session start during which customers can cancel their booking. Each window includes details about the fee for canceling within it. - name: autoCollectFeeEnabled | type: boolean | description: Whether Wix automatically charges the cancellation fee from the customer once they cancel their booking. Default: `true` - name: saveCreditCardPolicy | type: SaveCreditCardPolicy | description: Rule for saving credit card details. - name: enabled | type: boolean | description: Whether Wix stores credit card details of the customer. Storing the details allows Wix to prefill the checkout and thus increases the likelihood that the customer completes the booking process. Default: `false` - name: createdDate | type: string | description: Date and time the booking policy snapshot was created in `YYYY-MM-DDThh:mm:ssZ` format. ```