This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a list of booking policy snapshots by booking IDs.
function listPolicySnapshotsByBookingIds(
bookingIds: Array<string>,
): Promise<ListPolicySnapshotsByBookingIdsResponse>;
List of booking IDs to retrieve policy snapshots for.
import { bookingPolicySnapshots } from "@wix/bookings";
async function listPolicySnapshotsByBookingIds(bookingIds) {
const response =
await bookingPolicySnapshots.listPolicySnapshotsByBookingIds(bookingIds);
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.